mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 07:37:57 +02:00
Merge pull request #19841 from Snuffleupagus/issue-19840
Fix printing of XFA documents, by calling `XfaLayerBuilder.prototype.render` correctly (issue 19840)
This commit is contained in:
commit
c63c51e016
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function getXfaHtmlForPrinting(printContainer, pdfDocument) {
|
|||
});
|
||||
const viewport = getXfaPageViewport(xfaPage, { scale });
|
||||
|
||||
builder.render(viewport, "print");
|
||||
builder.render({ viewport, intent: "print" });
|
||||
page.append(builder.div);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue