From be456f2e81ac9c205178883b6cbf880304665319 Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Tue, 18 Sep 2012 15:30:02 -0700 Subject: Add Roboto Thin and Thin Italic fonts, as sans-serif-thin family This change adds the Roboto Thin and Thin Italic font variants, which are accessible through, for example, Typeface.create("sans-serif-thin", Typeface.NORMAL). The version checked in is Roboto_1.100150 as obtained from Christian. The other fonts in the family should probably be rev'ed as well, but that would be a separate change. I verified that the fonts work, that they're thin, that kerning and ligatures work, and that the "kern" table (redundant and bulky) is missing. This should close bug 7173069: Integrate roboto thin to support jb mr1 time displays Change-Id: I5c950a1843675668b83c005234b44abbe924d9fe --- data/fonts/Android.mk | 4 ++++ data/fonts/Roboto-Thin.ttf | Bin 0 -> 113996 bytes data/fonts/Roboto-ThinItalic.ttf | Bin 0 -> 117512 bytes data/fonts/fonts.mk | 2 ++ data/fonts/system_fonts.xml | 10 ++++++++++ 5 files changed, 16 insertions(+) create mode 100644 data/fonts/Roboto-Thin.ttf create mode 100644 data/fonts/Roboto-ThinItalic.ttf (limited to 'data/fonts') diff --git a/data/fonts/Android.mk b/data/fonts/Android.mk index 7bc172c..e02e95a 100644 --- a/data/fonts/Android.mk +++ b/data/fonts/Android.mk @@ -134,6 +134,8 @@ ifeq ($(MINIMAL_FONT_FOOTPRINT),true) $(eval $(call create-font-symlink,Roboto-Light.ttf,Roboto-Regular.ttf)) $(eval $(call create-font-symlink,Roboto-LightItalic.ttf,Roboto-Italic.ttf)) +$(eval $(call create-font-symlink,Roboto-Thin.ttf,Roboto-Regular.ttf)) +$(eval $(call create-font-symlink,Roboto-ThinItalic.ttf,Roboto-Italic.ttf)) $(eval $(call create-font-symlink,RobotoCondensed-Regular.ttf,Roboto-Regular.ttf)) $(eval $(call create-font-symlink,RobotoCondensed-Bold.ttf,Roboto-Bold.ttf)) $(eval $(call create-font-symlink,RobotoCondensed-Italic.ttf,Roboto-Italic.ttf)) @@ -143,6 +145,8 @@ else # !MINIMAL_FONT font_src_files += \ Roboto-Light.ttf \ Roboto-LightItalic.ttf \ + Roboto-Thin.ttf \ + Roboto-ThinItalic.ttf \ RobotoCondensed-Regular.ttf \ RobotoCondensed-Bold.ttf \ RobotoCondensed-Italic.ttf \ diff --git a/data/fonts/Roboto-Thin.ttf b/data/fonts/Roboto-Thin.ttf new file mode 100644 index 0000000..5ae4d7f Binary files /dev/null and b/data/fonts/Roboto-Thin.ttf differ diff --git a/data/fonts/Roboto-ThinItalic.ttf b/data/fonts/Roboto-ThinItalic.ttf new file mode 100644 index 0000000..9cd3927 Binary files /dev/null and b/data/fonts/Roboto-ThinItalic.ttf differ diff --git a/data/fonts/fonts.mk b/data/fonts/fonts.mk index 97233d7..875795a 100644 --- a/data/fonts/fonts.mk +++ b/data/fonts/fonts.mk @@ -26,6 +26,8 @@ PRODUCT_PACKAGES := \ Roboto-BoldItalic.ttf \ Roboto-Light.ttf \ Roboto-LightItalic.ttf \ + Roboto-Thin.ttf \ + Roboto-ThinItalic.ttf \ RobotoCondensed-Regular.ttf \ RobotoCondensed-Bold.ttf \ RobotoCondensed-Italic.ttf \ diff --git a/data/fonts/system_fonts.xml b/data/fonts/system_fonts.xml index 5a10523..16e4c7c 100644 --- a/data/fonts/system_fonts.xml +++ b/data/fonts/system_fonts.xml @@ -46,6 +46,16 @@ + sans-serif-thin + + + Roboto-Thin.ttf + Roboto-ThinItalic.ttf + + + + + sans-serif-condensed -- cgit v1.1