summaryrefslogtreecommitdiffstats
path: root/data/fonts
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-07-17 16:41:18 -0700
committerVictoria Lease <violets@google.com>2012-07-17 16:41:18 -0700
commit2a41a2d4ccd2f2037a8f44232486b0e08ed3cd4c (patch)
tree1c9718c9589866fe44ef43398a609dfcd2da8f66 /data/fonts
parentef863701ae20f985439abacd84dceac130804cbc (diff)
downloadframeworks_base-2a41a2d4ccd2f2037a8f44232486b0e08ed3cd4c.zip
frameworks_base-2a41a2d4ccd2f2037a8f44232486b0e08ed3cd4c.tar.gz
frameworks_base-2a41a2d4ccd2f2037a8f44232486b0e08ed3cd4c.tar.bz2
Demoted Lohit-Telugu.ttf in fallback lists.
Lohit-Telugu.ttf provides incorrect glyphs for U+FFBC-10007, masking fonts later in the fallback chain that provide correct glyphs for that range. I've temporarily demoted Lohit-Telugu in the fallback order so that this does not happen, and appended a comment that explains why. In the future, when we have our own Telugu font, we can place that with the rest of the Indic fonts in the fallback list. Bug: 6723057 Change-Id: I15fb06dcb7dd13289e226de01c36058134a1b7cb
Diffstat (limited to 'data/fonts')
-rw-r--r--data/fonts/fallback_fonts-ja.xml12
-rw-r--r--data/fonts/fallback_fonts.xml12
2 files changed, 16 insertions, 8 deletions
diff --git a/data/fonts/fallback_fonts-ja.xml b/data/fonts/fallback_fonts-ja.xml
index 9d3eb8c..82e3a38 100644
--- a/data/fonts/fallback_fonts-ja.xml
+++ b/data/fonts/fallback_fonts-ja.xml
@@ -96,22 +96,26 @@
</family>
<family>
<fileset>
- <file>Lohit-Telugu.ttf</file>
+ <file>AndroidEmoji.ttf</file>
</fileset>
</family>
<family>
<fileset>
- <file>AndroidEmoji.ttf</file>
+ <file>MTLmr3m.ttf</file>
</fileset>
</family>
<family>
<fileset>
- <file>MTLmr3m.ttf</file>
+ <file>DroidSansFallback.ttf</file>
</fileset>
</family>
+ <!--
+ Fonts below this point have problematic glyphs and should not be moved
+ higher in the fallback list until those glyphs have been fixed.
+ -->
<family>
<fileset>
- <file>DroidSansFallback.ttf</file>
+ <file>Lohit-Telugu.ttf</file> <!-- masks U+FFBC-10007 -->
</fileset>
</family>
</familyset>
diff --git a/data/fonts/fallback_fonts.xml b/data/fonts/fallback_fonts.xml
index 8ae9f93..758adb5 100644
--- a/data/fonts/fallback_fonts.xml
+++ b/data/fonts/fallback_fonts.xml
@@ -96,22 +96,26 @@
</family>
<family>
<fileset>
- <file>Lohit-Telugu.ttf</file>
+ <file>AndroidEmoji.ttf</file>
</fileset>
</family>
<family>
<fileset>
- <file>AndroidEmoji.ttf</file>
+ <file>DroidSansFallback.ttf</file>
</fileset>
</family>
<family>
<fileset>
- <file>DroidSansFallback.ttf</file>
+ <file>MTLmr3m.ttf</file>
</fileset>
</family>
+ <!--
+ Fonts below this point have problematic glyphs and should not be moved
+ higher in the fallback list until those glyphs have been fixed.
+ -->
<family>
<fileset>
- <file>MTLmr3m.ttf</file>
+ <file>Lohit-Telugu.ttf</file> <!-- masks U+FFBC-10007 -->
</fileset>
</family>
</familyset>