From: notmasteryet Date: Tue, 11 Oct 2011 12:17:45 +0000 (-0500) Subject: returning vstem3 and hstem3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=66074c08ebbaac0cd06c16440118aa7675f4da89;p=pdf.js.git returning vstem3 and hstem3 --- diff --git a/fonts.js b/fonts.js index 789261e..3abaaa5 100644 --- a/fonts.js +++ b/fonts.js @@ -1753,6 +1753,9 @@ var Type1Parser = function type1Parser() { // pop or setcurrentpoint commands can be ignored // since we are not doing callothersubr continue; + } else if (!kHintingEnabled && (escape == 1 || escape == 2)) { + charstring.push('drop', 'drop', 'drop', 'drop', 'drop', 'drop'); + continue; } command = charStringDictionary['12'][escape];