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

Don't skip mapping of glyphs for CIDFontType2 fonts with a CIDToGIDMap

Also don't skip mapping of glyphs which are empty, if the corresponding charCode is included in toUnicode.
This commit is contained in:
Jonas Jenwald 2015-01-02 14:21:56 +01:00
parent cb27707277
commit 8174da61fb
5 changed files with 34 additions and 8 deletions

View file

@ -18,6 +18,7 @@
!sizes.pdf
!close-path-bug.pdf
!issue4630.pdf
!issue5202.pdf
!issue5280.pdf
!alphatrans.pdf
!devicen.pdf
@ -62,6 +63,7 @@
!issue1002.pdf
!issue925.pdf
!issue2840.pdf
!issue4061.pdf
!issue4668.pdf
!issue5039.pdf
!issue5070.pdf

BIN
test/pdfs/issue4061.pdf Normal file

Binary file not shown.

BIN
test/pdfs/issue5202.pdf Normal file

Binary file not shown.

View file

@ -485,6 +485,20 @@
"lastPage": 1,
"type": "eq"
},
{ "id": "issue4061",
"file": "pdfs/issue4061.pdf",
"md5": "236aaa8840a47c3c061f8e3034549764",
"rounds": 1,
"link": false,
"type": "eq"
},
{ "id": "issue5202",
"file": "pdfs/issue5202.pdf",
"md5": "bb9cc69211112e66aab40828086a4e5a",
"rounds": 1,
"link": false,
"type": "eq"
},
{ "id": "issue5238",
"file": "pdfs/issue5238.pdf",
"md5": "6ddecda00893be1793de20a70c83a3c2",