Fix cff private dictionary key.

This commit is contained in:
Brendan Dahl 2012-12-14 12:44:39 -08:00
parent d15847826e
commit 852ff7753b
3 changed files with 7 additions and 1 deletions

View File

@ -5290,7 +5290,7 @@ Type1Font.prototype = {
BlueFuzz: '\x0c\x0b',
BlueScale: '\x0c\x09',
LanguageGroup: '\x0c\x11',
ExpansionFactor: '\x0c\x18'
ExpansionFactor: '\x0c\x12'
};
for (var field in fieldMap) {
if (!properties.privateData.hasOwnProperty(field))

BIN
test/pdfs/issue2176.pdf Normal file

Binary file not shown.

View File

@ -735,6 +735,12 @@
"rounds": 1,
"type": "load"
},
{ "id": "issue2176",
"file": "pdfs/issue2176.pdf",
"md5": "ca5cbbc7e2b717997f0b24ffa485eac6",
"rounds": 1,
"type": "eq"
},
{ "id": "issue1998",
"file": "pdfs/issue1998.pdf",
"md5": "586e0213be2f461360ec26770b5a4e48",