1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Skip mapping of CIDFontType2 glyphs when the font either has a |IdentityToUnicodeMap| or a |toUnicodeMap| with 65536 elements (issue 5677)

This patch slightly extends the heuristics used when trying to skip mapping of missing glyphs.

Fixes 5677.
This commit is contained in:
Jonas Jenwald 2015-06-18 21:53:15 +02:00
parent 99415a75b7
commit aa3a64e975
4 changed files with 14 additions and 2 deletions

View file

@ -25,6 +25,7 @@
!issue4630.pdf
!issue5202.pdf
!issue5280.pdf
!issue5677.pdf
!issue5954.pdf
!alphatrans.pdf
!devicen.pdf

BIN
test/pdfs/issue5677.pdf Normal file

Binary file not shown.

View file

@ -558,6 +558,13 @@
"link": false,
"type": "load"
},
{ "id": "issue5677",
"file": "pdfs/issue5677.pdf",
"md5": "c9101578fcb806269145132724d24ac1",
"rounds": 1,
"link": false,
"type": "eq"
},
{ "id": "issue5954",
"file": "pdfs/issue5954.pdf",
"md5": "4f60ec0d9bbeec845b681242b8982361",