diff --git a/lib/fontcustom/scripts/generate.py b/lib/fontcustom/scripts/generate.py index 0d441332..ab0d7acb 100755 --- a/lib/fontcustom/scripts/generate.py +++ b/lib/fontcustom/scripts/generate.py @@ -75,6 +75,10 @@ def createGlyph( name, source, code ): else: glyph.width = 512 +# 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'])