def correct_font(source_name, unhinted_name, target_font_name, family_name):
 font = ttLib.TTFont(source_name)
 unhinted = ttLib.TTFont(unhinted_name)
 apply_web_cros_common_fixes(font, unhinted, family_name)
 temporary_touchups.apply_temporary_fixes(font, is_for_cros=True)
 temporary_touchups.update_version_and_revision(font)
 drop_non_windows_name_records(font)
 font.save(target_font_name)

def correct_font ( source_name , unhinted_name , target_font_name , family_name ) : font = ttLib . TTFont ( source_name ) unhinted = ttLib . TTFont ( unhinted_name ) apply_web_cros_common_fixes ( font , unhinted , family_name ) temporary_touchups . apply_temporary_fixes ( font , is_for_cros = True ) temporary_touchups . update_version_and_revision ( font ) drop_non_windows_name_records ( font ) font . save ( target_font_name )
corrects metrics and other meta information .