mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Adjust the heuristics for handling of incomplete path operators (issue 14917)
This limits the heuristics for handling of incomplete path operators, see PR 9838, to only apply to *sequences* of such operators. In practice a couple of invalid path operators are (hopefully) unlikely to completely break rendering, whereas a sequence of them will easily lead to fairly chaotic rendering artifacts.
This commit is contained in:
parent
46e4a305eb
commit
5a774b7ed3
3 changed files with 18 additions and 2 deletions
1
test/pdfs/issue14917.pdf.link
Normal file
1
test/pdfs/issue14917.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://web.archive.org/web/20220515091440/https://pdf.cdn.readpaper.com/spd/2963250244.pdf
|
|
@ -3016,6 +3016,14 @@
|
|||
},
|
||||
"about": "Need to test *at least* three pages, since the `GlobalImageCache` is involved."
|
||||
},
|
||||
{ "id": "issue14917",
|
||||
"file": "pdfs/issue14917.pdf",
|
||||
"md5": "12201b35853f78a501ac46b91608f8b6",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue1127-text",
|
||||
"file": "pdfs/issue1127.pdf",
|
||||
"md5": "4fb2be5ffefeafda4ba977de2a1bb4d8",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue