lib/fontcustom/scripts/generate.py in gkh-fontcustom-1.3.7 vs lib/fontcustom/scripts/generate.py in gkh-fontcustom-1.3.8
- old
+ new
@@ -77,9 +77,13 @@
if (aligned_to_pixel_grid):
shift = glyph.left_side_bearing % design_px
glyph.left_side_bearing = glyph.left_side_bearing - shift
glyph.right_side_bearing = glyph.right_side_bearing + shift
+# Add valid space glyph to avoid "unknown character" box on IE11
+glyph = font.createChar(32)
+glyph.width = 200
+
for glyph, data in manifest['glyphs'].iteritems():
name = createGlyph(glyph, data['source'], data['codepoint'])
#
# Generate Files