mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
Allow skipping of errors when parsing broken/unsupported ColorSpaces (issue 6707, issue 11287)
This will allow us to attempt to recover as much as possible of a page, rather than immediately failing, when a broken/unsupported ColorSpace is encountered. This patch thus extends the framework added in PRs such as e.g. 8240 and 8922, to also cover parsing of ColorSpaces.
This commit is contained in:
parent
30ef05c161
commit
835d8c2be5
3 changed files with 53 additions and 21 deletions
1
test/pdfs/issue11287.pdf.link
Normal file
1
test/pdfs/issue11287.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/3786520/FLEXSTEEL.PIPELINE.TECHNOLOGIES.INC.vs.FEDON.DARREN.LOUIS.201834640.No.80265332.Texas.State.Harris.County.113th.District.Court.Jun.7.2018.pdf
|
|
@ -2977,6 +2977,14 @@
|
|||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue11287",
|
||||
"file": "pdfs/issue11287.pdf",
|
||||
"md5": "d7d6a7c124fad7b00f79112b71ee09d6",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue4890",
|
||||
"file": "pdfs/issue4890.pdf",
|
||||
"md5": "1666feb4cd26318c2bdbea6a175dce87",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue