Update 'Family' SFNT entry.

Thanks to @sirgu for the fix.

Fixes #75
This commit is contained in:
B. Kelly 2020-03-13 18:15:09 -04:00 committed by B. Kelly
parent 258773ce22
commit eaca739bd4

View File

@ -246,6 +246,7 @@ def update_font_metadata(font, new_name):
replace_sfnt(font, 'UniqueID', '%s; Ligaturized' % font.fullname)
replace_sfnt(font, 'Preferred Family', new_name)
replace_sfnt(font, 'Compatible Full', new_name)
replace_sfnt(font, 'Family', new_name)
replace_sfnt(font, 'WWS Family', new_name)
def ligaturize_font(input_font_file, output_dir, ligature_font_file,