]> git.parisson.com Git - pdf.js.git/commitdiff
working font
authorsbarman <sbarman@L3CWZ5T.(none)>
Wed, 17 Aug 2011 22:55:09 +0000 (15:55 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Wed, 17 Aug 2011 22:55:09 +0000 (15:55 -0700)
fonts.js

index 77183a6024e88410e15d5dbcc76ee9cbf1733942..a55fc63a27e41071349c3295c75c60ac7fb54b5f 100755 (executable)
--- a/fonts.js
+++ b/fonts.js
@@ -1490,7 +1490,7 @@ var Type1Parser = function() {
             var index = charstring.pop();
             var argc = charstring.pop();
             for (var j = 0; j < argc; j++)
-              var data = charstring.pop();
+              charstring.push('drop');
 
             // If the flex mechanishm is not used in a font program, Adobe
             // state that that entries 0, 1 and 2 can simply be replace by
@@ -1976,6 +1976,8 @@ CFF.prototype = {
     'sub': [12, 11],
     'div': [12, 12],
     'pop': [1, 12, 18],
+//    'pop': [],
+    'drop' : [12, 18],
     'endchar': 14,
     'rmoveto': 21,
     'hmoveto': 22,