Err if space is found in glyph name

This commit is contained in:
Behdad Esfahbod 2015-12-10 12:54:21 +01:00
parent 0934cee03f
commit 72be745587

View File

@ -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):