def apply_web_specific_fixes(font, unhinted, family_name):
 hhea = font['hhea']
 hhea.ascent = 1900
 hhea.descent = (-500)
 os2 = font['OS/2']
 os2.sTypoAscender = 1536
 os2.sTypoDescender = (-512)
 os2.sTypoLineGap = 102
 os2.usWinAscent = 1946
 os2.usWinDescent = 512
 apply_web_cros_common_fixes(font, unhinted, family_name)

def apply_web_specific_fixes ( font , unhinted , family_name ) : hhea = font [ 'hhea' ] hhea . ascent = 1900 hhea . descent = ( - 500 ) os2 = font [ 'OS/2' ] os2 . sTypoAscender = 1536 os2 . sTypoDescender = ( - 512 ) os2 . sTypoLineGap = 102 os2 . usWinAscent = 1946 os2 . usWinDescent = 512 apply_web_cros_common_fixes ( font , unhinted , family_name )
apply fixes needed for web fonts .