mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Ignore optional content with missing /Type-entries
In the rare situation that an optional content dictionary lacks a /Type-entry we currently throw, which may prevent e.g. Form XObjects from rendering completely. Fixes https://bugs.ghostscript.com/show_bug.cgi?id=707147
This commit is contained in:
parent
daae6589b6
commit
0ac8f33e13
3 changed files with 10 additions and 1 deletions
1
test/pdfs/mupdf-707147.pdf.link
Normal file
1
test/pdfs/mupdf-707147.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://web.archive.org/web/20230919100948/https://bugs.ghostscript.com/attachment.cgi?id=24825
|
|
@ -5590,6 +5590,14 @@
|
|||
"lastPage": 1,
|
||||
"type": "text"
|
||||
},
|
||||
{ "id": "mupdf-707147",
|
||||
"file": "pdfs/mupdf-707147.pdf",
|
||||
"md5": "3b6f4e142baed0585bb52c1eb79f918a",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue5421",
|
||||
"file": "pdfs/issue5421.pdf",
|
||||
"md5": "273f6813758a2349090003c7c8a0d85e",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue