1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 23:28:06 +02:00

Don't duplicate the first entry in the charCodeToGlyphId map for CIDFontType2 fonts with a CIDToGIDMap that already mapped the first entry to a non-zero glyphId (issue 7544)

Fixes 7544.
This commit is contained in:
Jonas Jenwald 2016-08-16 12:23:53 +02:00
parent b112f9f9f4
commit 0b75f63c03
4 changed files with 12 additions and 1 deletions

View file

@ -35,6 +35,7 @@
!issue7439.pdf
!issue7446.pdf
!issue7492.pdf
!issue7544.pdf
!issue7598.pdf
!filled-background.pdf
!ArabicCIDTrueType.pdf

BIN
test/pdfs/issue7544.pdf Normal file

Binary file not shown.

View file

@ -1014,6 +1014,13 @@
"rounds": 1,
"type": "eq"
},
{ "id": "issue7544",
"file": "pdfs/issue7544.pdf",
"md5": "87e3a9fc7d6a6c1bd5b53af6926ce48e",
"link": false,
"rounds": 1,
"type": "eq"
},
{ "id": "protectip",
"file": "pdfs/protectip.pdf",
"md5": "676e7a7b8f96d04825361832b1838a93",