]> git.parisson.com Git - pdf.js.git/commitdiff
removed unnecessary call to parseEncoding
authorsbarman <sbarman@L3CWZ5T.(none)>
Thu, 21 Jul 2011 21:02:31 +0000 (14:02 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Thu, 21 Jul 2011 21:02:31 +0000 (14:02 -0700)
fonts.js

index 77ad85a00eb74685cc723115616a13d8bb3fdedf..2e54ec3916d1316e616b83b273c8f20abae383d4 100755 (executable)
--- a/fonts.js
+++ b/fonts.js
@@ -2056,17 +2056,17 @@ var Type2CFF = (function() {
       baseDict = this.parseDict(privBytes);
       var  privDict = this.getPrivDict(baseDict, strings);
       
-      var encoding = this.parseEncoding(topDict['Encoding']);
+//      var encoding = this.parseEncoding(topDict['Encoding']);
       var charStrings = this.parseIndex(topDict['CharStrings']);
       var charset = this.parseCharsets(topDict['charset'], charStrings.length,
           strings);
 
       // charstrings contains info about glyphs (one element per glyph
       // containing mappings for {unicode, width}
-      this.charstrings = this.getCharStrings(encoding, charset, charStrings,
+      this.charstrings = this.getCharStrings(charset, charStrings,
           privDict, this.properties);
     },
-    getCharStrings: function cff_charstrings(encoding, charsets, charStrings,
+    getCharStrings: function cff_charstrings(charsets, charStrings,
                                              privDict, properties) {
       var widths = properties.glyphWidths;