From f9116ecf24f80e3c9161cd5189e8e9a90c03e908 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Fri, 11 Dec 2015 12:04:37 -0800 Subject: Don't set Black weight as bold outside of Android There's no documented reason why we were doing this before, so let's output these fonts for now and see if they work on other platforms. Android can come next. --- scripts/touchup_for_web.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts/touchup_for_web.py') diff --git a/scripts/touchup_for_web.py b/scripts/touchup_for_web.py index 3e29e58..7879d9e 100755 --- a/scripts/touchup_for_web.py +++ b/scripts/touchup_for_web.py @@ -47,12 +47,6 @@ def apply_web_specific_fixes(font, family_name): family_name += ' Condensed' full_name = family_name + ' ' + subfamily_name - # macStyle - bold = subfamily_name.startswith(('Bold', 'Black')) - italic = subfamily_name.endswith('Italic') - macStyle = (italic << 1) | bold - font['head'].macStyle = macStyle - # Family, subfamily names font_data.set_name_record(font, 16, family_name) style_map = ['Regular', 'Bold', 'Italic', 'Bold Italic'] -- cgit v1.2.3