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 });
builder.render(viewport, "print");
builder.render({ viewport, intent: "print" });
page.append(builder.div);
}
}