summaryrefslogtreecommitdiff
path: root/scripts/touchup_for_android.py
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-01-06 15:16:41 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:24 -0700
commitfbed471ea76435347704bd576f9678671777fdfc (patch)
treede2e9cf619677db1205d0054bc1059f9e6ef928c /scripts/touchup_for_android.py
parentca2779be9e95b7abe2e7fea7815f035c6f567bcc (diff)
Remove fix for macStyle from touchup_for_android.py.
And since the bug (issue 8) is fixed in the generated fonts now, add test for macStyle to run_general_test.py.
Diffstat (limited to 'scripts/touchup_for_android.py')
-rwxr-xr-xscripts/touchup_for_android.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/touchup_for_android.py b/scripts/touchup_for_android.py
index a230f27..870c4ff 100755
--- a/scripts/touchup_for_android.py
+++ b/scripts/touchup_for_android.py
@@ -99,13 +99,6 @@ def fix_ccmp_lookup(font):
def apply_temporary_fixes(font):
"""Apply some temporary fixes.
"""
- # Make sure macStyle is correct
- # https://code.google.com/a/google.com/p/roboto/issues/detail?id=8
- font_name = get_font_name(font)
- bold = ('Bold' in font_name) or ('Black' in font_name)
- italic = 'Italic' in font_name
- font['head'].macStyle = (italic << 1) | bold
-
# Mark the font free for installation, embedding, etc.
# https://code.google.com/a/google.com/p/roboto/issues/detail?id=29
os2 = font['OS/2']