summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-06-13 18:49:35 -0700
committerRoozbeh Pournader <roozbeh@google.com>2015-06-13 18:49:35 -0700
commit82ef167fca52593c4c4df78691db0e8253067c6f (patch)
tree962b851cd85c16e09640b5cf1841c601660d4dd8 /data
parent715cf2ac0bcd44720096cc91709b690b4828f0df (diff)
downloadframeworks_base-82ef167fca52593c4c4df78691db0e8253067c6f.zip
frameworks_base-82ef167fca52593c4c4df78691db0e8253067c6f.tar.gz
frameworks_base-82ef167fca52593c4c4df78691db0e8253067c6f.tar.bz2
Fix ascent and descent of Droid Sans Mono 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 font is modified using the following Python script: from fontTools import ttLib font_file = 'DroidSansMono.ttf' font = ttLib.TTFont(font_file) font['hhea'].ascent = 1900 font['hhea'].descent = -500 font.save('touched/'+font_file) Bug: 19791102 Change-Id: I2fcd44b952691deeeed18f30d06bc9f6d5e4a8de
Diffstat (limited to 'data')
-rw-r--r--data/fonts/DroidSansMono.ttfbin108128 -> 108128 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/data/fonts/DroidSansMono.ttf b/data/fonts/DroidSansMono.ttf
index 4085cee..b7bf5b4 100644
--- a/data/fonts/DroidSansMono.ttf
+++ b/data/fonts/DroidSansMono.ttf
Binary files differ