Skip to content

Commit a2c6429

Browse files
committed
Merge pull request mozilla#2465 from brendandahl/fix-expansion-factor
Fix cff private dictionary key.
2 parents 823cca4 + 852ff77 commit a2c6429

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/fonts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5290,7 +5290,7 @@ Type1Font.prototype = {
52905290
BlueFuzz: '\x0c\x0b',
52915291
BlueScale: '\x0c\x09',
52925292
LanguageGroup: '\x0c\x11',
5293-
ExpansionFactor: '\x0c\x18'
5293+
ExpansionFactor: '\x0c\x12'
52945294
};
52955295
for (var field in fieldMap) {
52965296
if (!properties.privateData.hasOwnProperty(field))

test/pdfs/issue2176.pdf

55.4 KB
Binary file not shown.

test/test_manifest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,12 @@
735735
"rounds": 1,
736736
"type": "load"
737737
},
738+
{ "id": "issue2176",
739+
"file": "pdfs/issue2176.pdf",
740+
"md5": "ca5cbbc7e2b717997f0b24ffa485eac6",
741+
"rounds": 1,
742+
"type": "eq"
743+
},
738744
{ "id": "issue1998",
739745
"file": "pdfs/issue1998.pdf",
740746
"md5": "586e0213be2f461360ec26770b5a4e48",

0 commit comments

Comments
 (0)