]> git.parisson.com Git - pdf.js.git/commitdiff
returning vstem3 and hstem3
authornotmasteryet <async.processingjs@yahoo.com>
Tue, 11 Oct 2011 12:17:45 +0000 (07:17 -0500)
committernotmasteryet <async.processingjs@yahoo.com>
Tue, 11 Oct 2011 12:17:45 +0000 (07:17 -0500)
fonts.js

index 789261ee5d56872aee01352fa91ddb77246999d4..3abaaa533bec9c2117f0d92ae0ed85fc998d242b 100644 (file)
--- 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];