def name2unicode(name):
if name in glyphname2unicode:<EOL><INDENT>return glyphname2unicode[name]<EOL><DEDENT>m = STRIP_NAME.search(name)<EOL>if not m:<EOL><INDENT>raise KeyError(name)<EOL><DEDENT>return unichr(int(m.group(<NUM_LIT:0>)))<EOL>
Converts Adobe glyph names to Unicode numbers.