mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
Attempt to handle corrupt PDF documents that inline Page dictionaries in a Kids array (issue 9540)
According to the specification, see https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G6.1942297, the contents of a Kids array should be indirect objects.
This commit is contained in:
parent
6662985a20
commit
d431ae069d
4 changed files with 40 additions and 11 deletions
1
test/pdfs/issue9540.pdf.link
Normal file
1
test/pdfs/issue9540.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/1793688/Problem.pdf
|
|
@ -875,6 +875,13 @@
|
|||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue9540",
|
||||
"file": "pdfs/issue9540.pdf",
|
||||
"md5": "7de7979270c9136bdd737428185fbbed",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "txt2pdf",
|
||||
"file": "pdfs/txt2pdf.pdf",
|
||||
"md5": "02cefa0f5e8d96313bb05163b2f88c8c",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue