1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-21 15:48:06 +02:00

Allow skipping of errors when reading broken/corrupt ToUnicode data (issue 11549)

This will allow font loading/parsing to continue, rather than immediately failing, when broken/corrupt CMap data is encountered.
This commit is contained in:
Jonas Jenwald 2020-01-30 13:13:51 +01:00
parent 517ccb7a39
commit 4c54395ff6
5 changed files with 51 additions and 26 deletions

View file

@ -352,6 +352,7 @@
!issue7878.pdf
!font_ascent_descent.pdf
!issue11442_reduced.pdf
!issue11549_reduced.pdf
!issue8097_reduced.pdf
!transparent.pdf
!xobject-image.pdf

Binary file not shown.

View file

@ -60,6 +60,13 @@
"link": false,
"type": "eq"
},
{ "id": "issue11549",
"file": "pdfs/issue11549_reduced.pdf",
"md5": "a1ea636f413e02e10dbdf379ab4a99ae",
"rounds": 1,
"link": false,
"type": "eq"
},
{ "id": "issue1293",
"file": "pdfs/issue1293r.pdf",
"md5": "4a098f5051f34fab036f5bbe88f8deef",