summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2012-09-18 15:30:02 -0700
committerRaph Levien <raph@google.com>2012-09-18 15:37:43 -0700
commitbe456f2e81ac9c205178883b6cbf880304665319 (patch)
tree424e955008b0995ec491be9496f13e45c22ef04a /data
parent00bc4c0b6723bda12e846f9f1f729acb79a389a1 (diff)
downloadframeworks_base-be456f2e81ac9c205178883b6cbf880304665319.zip
frameworks_base-be456f2e81ac9c205178883b6cbf880304665319.tar.gz
frameworks_base-be456f2e81ac9c205178883b6cbf880304665319.tar.bz2
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
Diffstat (limited to 'data')
-rw-r--r--data/fonts/Android.mk4
-rw-r--r--data/fonts/Roboto-Thin.ttfbin0 -> 113996 bytes
-rw-r--r--data/fonts/Roboto-ThinItalic.ttfbin0 -> 117512 bytes
-rw-r--r--data/fonts/fonts.mk2
-rw-r--r--data/fonts/system_fonts.xml10
5 files changed, 16 insertions, 0 deletions
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
--- /dev/null
+++ b/data/fonts/Roboto-Thin.ttf
Binary files differ
diff --git a/data/fonts/Roboto-ThinItalic.ttf b/data/fonts/Roboto-ThinItalic.ttf
new file mode 100644
index 0000000..9cd3927
--- /dev/null
+++ b/data/fonts/Roboto-ThinItalic.ttf
Binary files 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 @@
<family>
<nameset>
+ <name>sans-serif-thin</name>
+ </nameset>
+ <fileset>
+ <file>Roboto-Thin.ttf</file>
+ <file>Roboto-ThinItalic.ttf</file>
+ </fileset>
+ </family>
+
+ <family>
+ <nameset>
<name>sans-serif-condensed</name>
</nameset>
<fileset>