]> git.parisson.com Git - pdf.js.git/commitdiff
Add a comment about supporting hint replacement
authorVivien Nicolas <21@vingtetun.org>
Fri, 2 Sep 2011 13:26:16 +0000 (15:26 +0200)
committerVivien Nicolas <21@vingtetun.org>
Fri, 2 Sep 2011 13:26:16 +0000 (15:26 +0200)
fonts.js

index 4b119dc20c11521d99bfcfcbf64a9636818302e7..90e70a3023b5d6fbb67add01e9da35fb0d788e2d 100755 (executable)
--- a/fonts.js
+++ b/fonts.js
@@ -1466,6 +1466,7 @@ var Type1Parser = function() {
 
             // This is the same things about hint replacement, if it is not used
             // entry 3 can be replaced by {3}
+            // TODO support hint replacment
             if (index == 3) {
               charstring.push(3);
               i++;
@@ -1942,7 +1943,7 @@ CFF.prototype = {
     return type2Charstrings;
   },
 
-  getType2Subrs: function cff_getType2Charstrings(type1Subrs) {
+  getType2Subrs: function cff_getType2Subrs(type1Subrs) {
     var bias = 0;
     var count = type1Subrs.length;
     if (count < 1240)