diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-12-17 16:00:45 -0800 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-12-17 16:00:45 -0800 |
commit | 69467fac76d48280050a3e1770f6595dc6967b6a (patch) | |
tree | 7c77574116d460b2d2bc6026f930e8c4c6ff8184 /scripts | |
parent | 6cc897c80ab9c515769dd9f7ea8c7341bafea567 (diff) |
Clear fsSelection regular bit for Black
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/touchup_for_android.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |