Browse Source

Fix cff private dictionary key.

Brendan Dahl 13 years ago
parent
commit
852ff7753b
  1. 2
      src/fonts.js
  2. BIN
      test/pdfs/issue2176.pdf
  3. 6
      test/test_manifest.json

2
src/fonts.js

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

BIN
test/pdfs/issue2176.pdf

Binary file not shown.

6
test/test_manifest.json

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

Loading…
Cancel
Save