def apply_android_specific_fixes(font):
 font_data.delete_from_cmap(font, [8419, 8593, 8595])
 for table in ['LTSH', 'hdmx', 'VDMX', 'gasp']:
  if (table in font):
   del font[table]
 glyph_set = font.getGlyphSet()
 ellipsis = glyph_set['ellipsis']._glyph
 for component in ellipsis.components:
  component.flags &= (~ (1 << 2))

def apply_android_specific_fixes ( font ) : font_data . delete_from_cmap ( font , [ 8419 , 8593 , 8595 ] ) for table in [ 'LTSH' , 'hdmx' , 'VDMX' , 'gasp' ] : if ( table in font ) : del font [ table ] glyph_set = font . getGlyphSet ( ) ellipsis = glyph_set [ 'ellipsis' ] . _glyph for component in ellipsis . components : component . flags &= ( ~ ( 1 << 2 ) )
apply fixes needed for android .