mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Fix cff private dictionary key.
This commit is contained in:
parent
d15847826e
commit
852ff7753b
3 changed files with 7 additions and 1 deletions
|
@ -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
Normal file
BIN
test/pdfs/issue2176.pdf
Normal file
Binary file not shown.
|
@ -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…
Add table
Add a link
Reference in a new issue