Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a41a2d4 authored by Victoria Lease's avatar Victoria Lease
Browse files

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
parent ef863701
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -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>
+8 −4
Original line number Diff line number Diff line
@@ -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>