mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 15:47:57 +02:00
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.
This commit is contained in:
parent
d8d3e0abf5
commit
b4626a77a2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue