Merge pull request #11719 from Snuffleupagus/rm-fonts-widechars

Remove the unused `wideChars` property on `Font` instances
This commit is contained in:
Tim van der Meij 2020-03-20 21:00:09 +01:00 committed by GitHub
commit ab2b2ae30b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -3176,7 +3176,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
length3,
loadedName: baseDict.loadedName,
composite,
wideChars: composite,
fixedPitch: false,
fontMatrix: dict.getArray("FontMatrix") || FONT_IDENTITY_MATRIX,
firstChar: firstChar || 0,

View File

@ -544,7 +544,6 @@ var Font = (function FontClosure() {
this.widths = properties.widths;
this.defaultWidth = properties.defaultWidth;
this.composite = properties.composite;
this.wideChars = properties.wideChars;
this.cMap = properties.cMap;
this.ascent = properties.ascent / PDF_GLYPH_SPACE_UNITS;
this.descent = properties.descent / PDF_GLYPH_SPACE_UNITS;