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

Commit 70f0a436 authored by Roozbeh Pournader's avatar Roozbeh Pournader
Browse files

Move Noto Sans Tai Le to the end of the font fallback list.

This is to make sure the East Asian punctuation shared between CJK languages
and Tai Le are rendered from the CJK fonts when no language is specified
for the text, or CJK text is rendered in a non-CJK locale.

Also remove the old comment about 64k glyphs limit.

Bug: 19355391
Change-Id: Ic2cbc79cecf9539ace8a432f373685eeff81e106
parent ae0fdaf5
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -333,11 +333,6 @@
            <file>NotoSansTagbanwa-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansTaiLe-Regular.ttf</file>
        </fileset>
    </family>
    <family>
        <fileset>
            <file>NotoSansTaiTham-Regular.ttf</file>
@@ -408,10 +403,13 @@
            <file lang="ja">MTLmr3m.ttf</file>
        </fileset>
    </family>
    <!-- Note: complex scripts (i.e. those requiring shaping in Harfbuzz) have
         a cumulative limit of 64k glyphs. Thus, if they are placed after the
         large fonts such as DroidSansFallback, they are likely to render
         incorrectly. Please use caution when putting fonts toward the end of
         the list.
    <!--
        Noto Sans Tai Le is intentionally kept last, to make sure it doesn't override
        the East Asian punctuation for Chinese.
    -->
    <family>
        <fileset>
            <file>NotoSansTaiLe-Regular.ttf</file>
        </fileset>
    </family>
</familyset>
+7 −3
Original line number Diff line number Diff line
@@ -287,9 +287,6 @@
    <family>
        <font weight="400" style="normal">NotoSansTagbanwa-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansTaiLe-Regular.ttf</font>
    </family>
    <family>
        <font weight="400" style="normal">NotoSansTaiTham-Regular.ttf</font>
    </family>
@@ -332,4 +329,11 @@
    <family lang="ja">
        <font weight="400" style="normal">MTLmr3m.ttf</font>
    </family>
    <!--
        Noto Sans Tai Le is intentionally kept last, to make sure it doesn't override
        the East Asian punctuation for Chinese.
    -->
    <family>
        <font weight="400" style="normal">NotoSansTaiLe-Regular.ttf</font>
    </family>
</familyset>