Fix ascent and descent of Noto Serif LGC to match Roboto.
Previously, the inconsistency resulted in test in the testUniformY in
frameworks/base/graphics/tests/graphicstests/src/android/graphics/TypefaceTest.java
fail. The tests assume the different sans/serif/mono styles share a
consistent ascent and descent.
The fonts are modified using the following script:
import glob
from fontTools import ttLib
for font_file in glob.glob('NotoSerif-*.ttf'):
font = ttLib.TTFont(font_file)
font['hhea'].ascent = 1900
font['hhea'].descent = -500
font.save('touched/'+font_file)
Bug: 19791102
Change-Id: I61e104c32e01cb86449f76dc6249bec9d96a2e4d
4 files changed