summaryrefslogtreecommitdiff
path: root/scripts/touchup_for_web.py
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-01-08 11:25:51 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:25 -0700
commitcfa5c8e378eb1913c447236aab739febe2c6cc5d (patch)
treed7bdbe61b8fe77b5aeddbdea2b4fb10884de1d8b /scripts/touchup_for_web.py
parent3f22b6f3b65aac67988e3be214792aa56daa3794 (diff)
More moving web-specific tests and touchups to common.
Diffstat (limited to 'scripts/touchup_for_web.py')
-rwxr-xr-xscripts/touchup_for_web.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/touchup_for_web.py b/scripts/touchup_for_web.py
index d0efddc..8760394 100755
--- a/scripts/touchup_for_web.py
+++ b/scripts/touchup_for_web.py
@@ -11,12 +11,7 @@ import temporary_touchups
def apply_web_specific_fixes(font, family_name):
"""Apply fixes needed for web fonts."""
- # Set ascent, descent, and lineGap values to Android K values
- hhea = font['hhea']
- hhea.ascent = 1900
- hhea.descent = -500
- hhea.lineGap = 0
-
+ # Set OS/2 table values to old values
os2 = font['OS/2']
os2.sTypoAscender = 1536
os2.sTypoDescender = -512