Skip to content

Commit b4626a7

Browse files
committed
Fix printing of XFA documents, by calling XfaLayerBuilder.prototype.render correctly (issue 19840)
When changing the format of various `render`-methods in PR 19365 I forgot to update the code used to print XFA documents, sorry about that.
1 parent d8d3e0a commit b4626a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/print_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function getXfaHtmlForPrinting(printContainer, pdfDocument) {
3535
});
3636
const viewport = getXfaPageViewport(xfaPage, { scale });
3737

38-
builder.render(viewport, "print");
38+
builder.render({ viewport, intent: "print" });
3939
page.append(builder.div);
4040
}
4141
}

0 commit comments

Comments
 (0)