Browse Source

Remove setting hhea values in post-production

No need now that the values are correct in the source.
James Godfrey-Kittle 8 years ago
parent
commit
9242d78738
1 changed files with 0 additions and 6 deletions
  1. 0 6
      scripts/temporary_touchups.py

+ 0 - 6
scripts/temporary_touchups.py

@@ -31,12 +31,6 @@ def apply_temporary_fixes(font, is_for_cros=False):
         weight_number = 100
     font['OS/2'].usWeightClass = weight_number
 
-    # Set ascent, descent, and lineGap values to Android K values.
-    hhea = font['hhea']
-    hhea.ascent = 1900
-    hhea.descent = -500
-    hhea.lineGap = 0
-
     # Set bold bits for Black (macStyle bit 0, fsSelection bit 5)
     name_records = font_data.get_name_records(font)
     family_name = name_records[1]