def decomposeGlyph(font, glyphName):
 glyph = font[glyphName]
 deepCopyContours(font, glyph, glyph, (0, 0), (1, 1))
 glyph.clearComponents()

def decomposeGlyph ( font , glyphName ) : glyph = font [ glyphName ] deepCopyContours ( font , glyph , glyph , ( 0 , 0 ) , ( 1 , 1 ) ) glyph . clearComponents ( )
moves the components of a glyph to its outline .