def removeGlyphOverlap(glyph):
 manager = BooleanOperationManager()
 contours = glyph.contours
 glyph.clearContours()
 manager.union(contours, glyph.getPointPen())

def removeGlyphOverlap ( glyph ) : manager = BooleanOperationManager ( ) contours = glyph . contours glyph . clearContours ( ) manager . union ( contours , glyph . getPointPen ( ) )
remove overlaps in contours from a glyph .