summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-10-10 23:41:16 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-10 23:41:17 +0000
commit99cc35bbde7415fcdeada6fb4243097af85ae33f (patch)
tree408a80e8c26b14c957bf3d5076e59bffd2f79272 /data
parent2c461def93f235d3a7853851ee125cb3caaf2955 (diff)
parent4f9140b52c7bed3ec973eaad9b7f090805763c22 (diff)
downloadframeworks_base-99cc35bbde7415fcdeada6fb4243097af85ae33f.zip
frameworks_base-99cc35bbde7415fcdeada6fb4243097af85ae33f.tar.gz
frameworks_base-99cc35bbde7415fcdeada6fb4243097af85ae33f.tar.bz2
Merge "Add Cutive Mono as serif monospace font for captioning" into lmp-dev
Diffstat (limited to 'data')
-rw-r--r--data/fonts/fonts.xml9
-rw-r--r--data/fonts/system_fonts.xml14
2 files changed, 19 insertions, 4 deletions
diff --git a/data/fonts/fonts.xml b/data/fonts/fonts.xml
index 04bc67a..09055c6 100644
--- a/data/fonts/fonts.xml
+++ b/data/fonts/fonts.xml
@@ -70,10 +70,15 @@
<family name="monospace">
<font weight="400" style="normal">DroidSansMono.ttf</font>
</family>
- <alias name="courier" to="monospace" />
- <alias name="courier new" to="monospace" />
+ <alias name="sans-serif-monospace" to="monospace" />
<alias name="monaco" to="monospace" />
+ <family name="serif-monospace">
+ <font weight="400" style="normal">CutiveMono.ttf</font>
+ </family>
+ <alias name="courier" to="serif-monospace" />
+ <alias name="courier new" to="serif-monospace" />
+
<family name="casual">
<font weight="400" style="normal">ComingSoon.ttf</font>
</family>
diff --git a/data/fonts/system_fonts.xml b/data/fonts/system_fonts.xml
index 8c59fea..2a48faa 100644
--- a/data/fonts/system_fonts.xml
+++ b/data/fonts/system_fonts.xml
@@ -129,8 +129,7 @@
<family>
<nameset>
<name>monospace</name>
- <name>courier</name>
- <name>courier new</name>
+ <name>sans-serif-monospace</name>
<name>monaco</name>
</nameset>
<fileset>
@@ -140,6 +139,17 @@
<family>
<nameset>
+ <name>serif-monospace</name>
+ <name>courier</name>
+ <name>courier new</name>
+ </nameset>
+ <fileset>
+ <file>CutiveMono.ttf</file>
+ </fileset>
+ </family>
+
+ <family>
+ <nameset>
<name>casual</name>
</nameset>
<fileset>