Refactors font matrix operations

This commit is contained in:
Yury Delendik 2013-01-03 18:39:06 -06:00
parent ccfa0e1972
commit 10bb6c9ec0
3 changed files with 54 additions and 56 deletions

View file

@ -1171,7 +1171,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
composite: composite,
wideChars: composite,
fixedPitch: false,
fontMatrix: dict.get('FontMatrix') || IDENTITY_MATRIX,
fontMatrix: dict.get('FontMatrix') || FONT_IDENTITY_MATRIX,
firstChar: firstChar || 0,
lastChar: lastChar || maxCharIndex,
bbox: descriptor.get('FontBBox'),