Merge pull request #2465 from brendandahl/fix-expansion-factor

Fix cff private dictionary key.
This commit is contained in:
Yury Delendik 2012-12-15 20:53:11 -08:00
commit a2c6429cce
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",