1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

XFA - Disable xfa rendering for XFAF pdfs

- we'll implement XFAF support later.
This commit is contained in:
Calixte Denizet 2021-07-03 12:59:42 +02:00 committed by Brendan Dahl
parent 62808cb3c2
commit 04573d2dc8
2 changed files with 13 additions and 0 deletions

View file

@ -849,6 +849,7 @@ class PDFDocument {
get xfaFactory() {
if (
this.pdfManager.enableXfa &&
this.catalog.needsRendering &&
this.formInfo.hasXfa &&
!this.formInfo.hasAcroForm
) {