From 1d2bd3316c3dbc66632057c7052925228f4a983c Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Sat, 16 May 2015 13:45:08 -0700 Subject: Add make target to build Android fonts from hinted fonts. The change is temporary, while we confirm the quality of our new build toolchain. The target should go away once we switch completely to the new toolchain. This also removes the code that removed tab and unassigned characters from the Android target, since the tab now has the same width as space and the unassigned characters are no longer in the fonts. --- scripts/touchup_for_android.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/touchup_for_android.py b/scripts/touchup_for_android.py index bd21fc5..80b8e70 100755 --- a/scripts/touchup_for_android.py +++ b/scripts/touchup_for_android.py @@ -175,13 +175,13 @@ def apply_android_specific_fixes(font): hhea.descent = -500 hhea.lineGap = 0 - # Remove tab, combining keycap, the arrows, and unassigned characters - # from the cmap table - # https://code.google.com/a/google.com/p/roboto/issues/detail?id=51 + # Remove combining keycap and the arrows from the cmap table: # https://code.google.com/a/google.com/p/roboto/issues/detail?id=52 - # https://code.google.com/a/google.com/p/roboto/issues/detail?id=53 font_data.delete_from_cmap(font, [ - 0x0009, 0x20E3, 0x2072, 0x2073, 0x208F, 0x2191, 0x2193]) + 0x20E3, # COMBINING ENCLOSING KEYCAP + 0x2191, # UPWARDS ARROW + 0x2193, # DOWNWARDS ARROW + ]) # Drop tables not useful on Android for table in ['LTSH', 'hdmx', 'VDMX', 'gasp']: -- cgit v1.2.3