From e58b076eab0b6e31a1ee8bd70ed5b154f141f548 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Tue, 30 Aug 2011 00:59:37 +0200 Subject: [PATCH] Fix a little typo --- fonts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fonts.js b/fonts.js index 2172d12b2..a51786c3e 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