From 82ef167fca52593c4c4df78691db0e8253067c6f Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Sat, 13 Jun 2015 18:49:35 -0700 Subject: 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 --- data/fonts/DroidSansMono.ttf | Bin 108128 -> 108128 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/data/fonts/DroidSansMono.ttf b/data/fonts/DroidSansMono.ttf index 4085cee..b7bf5b4 100644 Binary files a/data/fonts/DroidSansMono.ttf and b/data/fonts/DroidSansMono.ttf differ -- cgit v1.1