diff --git a/fd2ft.py b/fd2ft.py index 6264b73f8..935fd3faf 100755 --- a/fd2ft.py +++ b/fd2ft.py @@ -19,6 +19,7 @@ def makeGlyph(s): return ttLib.TTFont._makeGlyphName(int(s[2:], 16)) elif s[:2] == '# ': return "glyph%.5d" % int(s[2:]) + assert s.find(' ') < 0, "Space found in glyph name: %s" % s return s def makeGlyphs(l):