Skip to content

Commit 2a41a2d

Browse files
author
Victoria Lease
committed
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
1 parent ef86370 commit 2a41a2d

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

data/fonts/fallback_fonts-ja.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,22 +96,26 @@
9696
</family>
9797
<family>
9898
<fileset>
99-
<file>Lohit-Telugu.ttf</file>
99+
<file>AndroidEmoji.ttf</file>
100100
</fileset>
101101
</family>
102102
<family>
103103
<fileset>
104-
<file>AndroidEmoji.ttf</file>
104+
<file>MTLmr3m.ttf</file>
105105
</fileset>
106106
</family>
107107
<family>
108108
<fileset>
109-
<file>MTLmr3m.ttf</file>
109+
<file>DroidSansFallback.ttf</file>
110110
</fileset>
111111
</family>
112+
<!--
113+
Fonts below this point have problematic glyphs and should not be moved
114+
higher in the fallback list until those glyphs have been fixed.
115+
-->
112116
<family>
113117
<fileset>
114-
<file>DroidSansFallback.ttf</file>
118+
<file>Lohit-Telugu.ttf</file> <!-- masks U+FFBC-10007 -->
115119
</fileset>
116120
</family>
117121
</familyset>

data/fonts/fallback_fonts.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,22 +96,26 @@
9696
</family>
9797
<family>
9898
<fileset>
99-
<file>Lohit-Telugu.ttf</file>
99+
<file>AndroidEmoji.ttf</file>
100100
</fileset>
101101
</family>
102102
<family>
103103
<fileset>
104-
<file>AndroidEmoji.ttf</file>
104+
<file>DroidSansFallback.ttf</file>
105105
</fileset>
106106
</family>
107107
<family>
108108
<fileset>
109-
<file>DroidSansFallback.ttf</file>
109+
<file>MTLmr3m.ttf</file>
110110
</fileset>
111111
</family>
112+
<!--
113+
Fonts below this point have problematic glyphs and should not be moved
114+
higher in the fallback list until those glyphs have been fixed.
115+
-->
112116
<family>
113117
<fileset>
114-
<file>MTLmr3m.ttf</file>
118+
<file>Lohit-Telugu.ttf</file> <!-- masks U+FFBC-10007 -->
115119
</fileset>
116120
</family>
117121
</familyset>

0 commit comments

Comments
 (0)