]> git.parisson.com Git - pdf.js.git/commitdiff
Fix a little typo
authorVivien Nicolas <21@vingtetun.org>
Mon, 29 Aug 2011 23:03:39 +0000 (01:03 +0200)
committerVivien Nicolas <21@vingtetun.org>
Mon, 29 Aug 2011 23:03:39 +0000 (01:03 +0200)
fonts.js

index a51786c3eb75ff9b86ae25ddcfe765b8bb900862..94aee84454629a9d399ad8c246b3d576bdda5a3f 100755 (executable)
--- a/fonts.js
+++ b/fonts.js
@@ -1703,7 +1703,7 @@ var Type1Parser = function() {
                 var index = parseInt(getToken());
                 var glyph = getToken();
               
-                if (!properties.differences[j]) {
+                if (!properties.encoding[index]) {
                   var code = GlyphsUnicode[glyph];
                   properties.glyphs[glyph] = properties.encoding[index] = code;
                 }