1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-29 15:47: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:
Jonas Jenwald 2025-04-22 15:12:46 +02:00 committed by GitHub
commit c63c51e016
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ function getXfaHtmlForPrinting(printContainer, pdfDocument) {
}); });
const viewport = getXfaPageViewport(xfaPage, { scale }); const viewport = getXfaPageViewport(xfaPage, { scale });
builder.render(viewport, "print"); builder.render({ viewport, intent: "print" });
page.append(builder.div); page.append(builder.div);
} }
} }