1cb93a386Sopenharmony_ci<?xml version="1.0" encoding="utf-8"?>
2cb93a386Sopenharmony_ci<!--
3cb93a386Sopenharmony_ci    Fallback Fonts
4cb93a386Sopenharmony_ci
5cb93a386Sopenharmony_ci    This file specifies the fonts, and the priority order, that will be searched for any
6cb93a386Sopenharmony_ci    glyphs not handled by the default fonts specified in /system/etc/system_fonts.xml.
7cb93a386Sopenharmony_ci    Each entry consists of a family tag and a list of files (file names) which support that
8cb93a386Sopenharmony_ci    family. The fonts for each family are listed in the order of the styles that they
9cb93a386Sopenharmony_ci    handle (the order is: regular, bold, italic, and bold-italic). The order in which the
10cb93a386Sopenharmony_ci    families are listed in this file represents the order in which these fallback fonts
11cb93a386Sopenharmony_ci    will be searched for glyphs that are not supported by the default system fonts (which are
12cb93a386Sopenharmony_ci    found in /system/etc/system_fonts.xml).
13cb93a386Sopenharmony_ci
14cb93a386Sopenharmony_ci    Note that there is not nameset for fallback fonts, unlike the fonts specified in
15cb93a386Sopenharmony_ci    system_fonts.xml. The ability to support specific names in fallback fonts may be supported
16cb93a386Sopenharmony_ci    in the future. For now, the lack of files entries here is an indicator to the system that
17cb93a386Sopenharmony_ci    these are fallback fonts, instead of default named system fonts.
18cb93a386Sopenharmony_ci
19cb93a386Sopenharmony_ci    There is another optional file in /vendor/etc/fallback_fonts.xml. That file can be used to
20cb93a386Sopenharmony_ci    provide references to other font families that should be used in addition to the default
21cb93a386Sopenharmony_ci    fallback fonts. That file can also specify the order in which the fallback fonts should be
22cb93a386Sopenharmony_ci    searched, to ensure that a vendor-provided font will be used before another fallback font
23cb93a386Sopenharmony_ci    which happens to handle the same glyph.
24cb93a386Sopenharmony_ci
25cb93a386Sopenharmony_ci    Han languages (Chinese, Japanese, and Korean) share a common range of unicode characters;
26cb93a386Sopenharmony_ci    their ordering in the fallback or vendor files gives priority to the first in the list.
27cb93a386Sopenharmony_ci    Locale-specific ordering can be configured by adding language and region codes to the end
28cb93a386Sopenharmony_ci    of the filename (e.g. /system/etc/fallback_fonts-ja.xml). When no region code is used,
29cb93a386Sopenharmony_ci    as with this example, all regions are matched. Use separate files for each supported locale.
30cb93a386Sopenharmony_ci    The standard fallback file (fallback_fonts.xml) is used when a locale does not have its own
31cb93a386Sopenharmony_ci    file. All fallback files must contain the same complete set of fonts; only their ordering
32cb93a386Sopenharmony_ci    can differ.
33cb93a386Sopenharmony_ci-->
34cb93a386Sopenharmony_ci<familyset>
35cb93a386Sopenharmony_ci    <family>
36cb93a386Sopenharmony_ci        <fileset>
37cb93a386Sopenharmony_ci            <file>DroidNaskh-Regular-SystemUI.ttf</file>
38cb93a386Sopenharmony_ci        </fileset>
39cb93a386Sopenharmony_ci    </family>
40cb93a386Sopenharmony_ci    <family>
41cb93a386Sopenharmony_ci        <fileset>
42cb93a386Sopenharmony_ci            <file>DroidSansEthiopic-Regular.ttf</file>
43cb93a386Sopenharmony_ci        </fileset>
44cb93a386Sopenharmony_ci    </family>
45cb93a386Sopenharmony_ci    <family>
46cb93a386Sopenharmony_ci        <fileset>
47cb93a386Sopenharmony_ci            <file>DroidSansHebrew-Regular.ttf</file>
48cb93a386Sopenharmony_ci            <file>DroidSansHebrew-Bold.ttf</file>
49cb93a386Sopenharmony_ci        </fileset>
50cb93a386Sopenharmony_ci    </family>
51cb93a386Sopenharmony_ci    <family>
52cb93a386Sopenharmony_ci        <fileset>
53cb93a386Sopenharmony_ci            <file>DroidSansThai.ttf</file>
54cb93a386Sopenharmony_ci        </fileset>
55cb93a386Sopenharmony_ci    </family>
56cb93a386Sopenharmony_ci    <family>
57cb93a386Sopenharmony_ci        <fileset>
58cb93a386Sopenharmony_ci            <file>DroidSansArmenian.ttf</file>
59cb93a386Sopenharmony_ci        </fileset>
60cb93a386Sopenharmony_ci    </family>
61cb93a386Sopenharmony_ci    <family>
62cb93a386Sopenharmony_ci        <fileset>
63cb93a386Sopenharmony_ci            <file>DroidSansGeorgian.ttf</file>
64cb93a386Sopenharmony_ci        </fileset>
65cb93a386Sopenharmony_ci    </family>
66cb93a386Sopenharmony_ci    <family>
67cb93a386Sopenharmony_ci        <fileset>
68cb93a386Sopenharmony_ci            <file>DroidSansDevanagari-Regular.ttf</file>
69cb93a386Sopenharmony_ci        </fileset>
70cb93a386Sopenharmony_ci    </family>
71cb93a386Sopenharmony_ci    <family>
72cb93a386Sopenharmony_ci        <fileset>
73cb93a386Sopenharmony_ci            <file>DroidSansTamil-Regular.ttf</file>
74cb93a386Sopenharmony_ci            <file>DroidSansTamil-Bold.ttf</file>
75cb93a386Sopenharmony_ci        </fileset>
76cb93a386Sopenharmony_ci    </family>
77cb93a386Sopenharmony_ci    <family>
78cb93a386Sopenharmony_ci        <fileset>
79cb93a386Sopenharmony_ci            <file>AnjaliNewLipi-light.ttf</file>
80cb93a386Sopenharmony_ci        </fileset>
81cb93a386Sopenharmony_ci    </family>
82cb93a386Sopenharmony_ci    <family>
83cb93a386Sopenharmony_ci        <fileset>
84cb93a386Sopenharmony_ci            <file>Lohit-Bengali.ttf</file>
85cb93a386Sopenharmony_ci        </fileset>
86cb93a386Sopenharmony_ci    </family>
87cb93a386Sopenharmony_ci    <family>
88cb93a386Sopenharmony_ci        <fileset>
89cb93a386Sopenharmony_ci            <file>Lohit-Kannada.ttf</file>
90cb93a386Sopenharmony_ci        </fileset>
91cb93a386Sopenharmony_ci    </family>
92cb93a386Sopenharmony_ci    <family>
93cb93a386Sopenharmony_ci        <fileset>
94cb93a386Sopenharmony_ci            <file>Lohit-Telugu.ttf</file>
95cb93a386Sopenharmony_ci        </fileset>
96cb93a386Sopenharmony_ci    </family>
97cb93a386Sopenharmony_ci    <family>
98cb93a386Sopenharmony_ci        <fileset>
99cb93a386Sopenharmony_ci            <file>AndroidEmoji.ttf</file>
100cb93a386Sopenharmony_ci        </fileset>
101cb93a386Sopenharmony_ci    </family>
102cb93a386Sopenharmony_ci    <family>
103cb93a386Sopenharmony_ci        <fileset>
104cb93a386Sopenharmony_ci            <file>MTLmr3m.ttf</file>
105cb93a386Sopenharmony_ci        </fileset>
106cb93a386Sopenharmony_ci    </family>
107cb93a386Sopenharmony_ci    <family>
108cb93a386Sopenharmony_ci        <fileset>
109cb93a386Sopenharmony_ci            <file>DroidSansFallback.ttf</file>
110cb93a386Sopenharmony_ci        </fileset>
111cb93a386Sopenharmony_ci    </family>
112cb93a386Sopenharmony_ci</familyset>
113