From: Vivien Nicolas <21@vingtetun.org> Date: Mon, 29 Aug 2011 22:59:37 +0000 (+0200) Subject: Fix a little typo X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e58b076eab0b6e31a1ee8bd70ed5b154f141f548;p=pdf.js.git Fix a little typo --- diff --git a/fonts.js b/fonts.js index 2172d12..a51786c 100755 --- a/fonts.js +++ b/fonts.js @@ -870,13 +870,15 @@ var Font = (function Font() { } } - if (properties.firstChar < 0x20) + if (properties.firstChar < 0x20) { var code = 0; for (var j = 0; j < glyphs.length; j++) { var glyph = glyphs[j]; glyphs[j].unicode += 0x1F; properties.glyphs[glyph.glyph] = encoding[++code] = glyph.unicode; + } } + return cmap.data = createCMapTable(glyphs, deltas); } else if (format == 6) { // Format 6 is a 2-bytes dense mapping, which means the font data