summaryrefslogtreecommitdiff
path: root/scripts/touchup_for_web.py
diff options
context:
space:
mode:
authorVasudev Kamath <kamathvasudev@gmail.com>2016-01-17 10:24:04 +0530
committerVasudev Kamath <kamathvasudev@gmail.com>2016-01-17 10:24:04 +0530
commitdbfdc17c919fbe0c0da0b11ad80977d415d52e9e (patch)
treebe487e0e58e17959036e6104542f57213ffc1f1a /scripts/touchup_for_web.py
parent1352cf875dbb8a46fb0b4bf25a15b6870cf83a19 (diff)
parentdbeb1d1913b5e0b1609af63caa02c2785f832a26 (diff)
Merge tag 'upstream/0_20160106'
Upstream version 0~20160106 # gpg: Signature made Sunday 17 January 2016 10:24:04 AM IST using RSA key ID 87700B7E # gpg: Good signature from "Vasudev Kamath <kamathvasudev@gmail.com>" [ultimate] # gpg: aka "Vasudev Kamath (Debian Maint) <kamathvasudev@gmail.com>" [ultimate] # gpg: aka "Vasudev Kamath <vasudev@copyninja.info>" [ultimate]
Diffstat (limited to 'scripts/touchup_for_web.py')
-rwxr-xr-xscripts/touchup_for_web.py6
1 files changed, 0 insertions, 6 deletions
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']