diff --git a/fonts.js b/fonts.js index a51786c3e..94aee8445 100755 --- 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; }