1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Support Optional Content in Image-/XObjects (issue 13931)

Currently, in the `PartialEvaluator`, we only support Optional Content in Form-/XObjects. Hence this patch adds support for Image-/XObjects as well, which looks like a simple oversight in PR 12095 since the canvas-implementation already contains the necessary code to support this.
This commit is contained in:
Jonas Jenwald 2021-08-24 11:30:19 +02:00
parent ada283cc35
commit 853b1172a1
4 changed files with 32 additions and 5 deletions

View file

@ -442,6 +442,7 @@
!issue8097_reduced.pdf
!quadpoints.pdf
!transparent.pdf
!issue13931.pdf
!xobject-image.pdf
!issue6605.pdf
!ccitt_EndOfBlock_false.pdf

BIN
test/pdfs/issue13931.pdf Normal file

Binary file not shown.

View file

@ -5019,6 +5019,12 @@
"rounds": 1,
"type": "eq"
},
{ "id": "issue13931-default",
"file": "pdfs/issue13931.pdf",
"md5": "799d5025787115d22863ae23a3042491",
"rounds": 1,
"type": "eq"
},
{ "id": "issue2829",
"file": "pdfs/issue2829.pdf",
"md5": "f32b28cf8792f6ccc470446bfbb38584",