From 69467fac76d48280050a3e1770f6595dc6967b6a Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Thu, 17 Dec 2015 16:00:45 -0800 Subject: Clear fsSelection regular bit for Black --- scripts/touchup_for_android.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/touchup_for_android.py b/scripts/touchup_for_android.py index 9c896bc..e13adea 100755 --- a/scripts/touchup_for_android.py +++ b/scripts/touchup_for_android.py @@ -75,6 +75,7 @@ def apply_android_specific_fixes(font): if family_name.endswith('Black'): font['head'].macStyle |= (1 << 0) font['OS/2'].fsSelection |= (1 << 5) + font['OS/2'].fsSelection &= ~(1 << 6) new_subfam_name = ( ('Bold ' + subfam_name) if subfam_name != 'Regular' else 'Bold') font_data.set_name_record(font, 2, new_subfam_name) -- cgit v1.2.3