1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Merge pull request #13660 from calixteman/no_xfaf

XFA - Disable xfa rendering for XFAF pdfs
This commit is contained in:
Brendan Dahl 2021-08-23 12:30:29 -07:00 committed by GitHub
commit 56e7bb626c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

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