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    Language-specific ordering can be configured by adding a BCP 47-style "lang" attribute to
28cb93a386Sopenharmony_ci    a "file" element; fonts matching the language of text being drawn will be prioritised over
29cb93a386Sopenharmony_ci    all others.
30cb93a386Sopenharmony_ci-->
31cb93a386Sopenharmony_ci<familyset>
32cb93a386Sopenharmony_ci    <family>
33cb93a386Sopenharmony_ci        <fileset>
34cb93a386Sopenharmony_ci            <file variant="elegant">DroidNaskh-Regular.ttf</file>
35cb93a386Sopenharmony_ci        </fileset>
36cb93a386Sopenharmony_ci    </family>
37cb93a386Sopenharmony_ci    <family>
38cb93a386Sopenharmony_ci        <fileset>
39cb93a386Sopenharmony_ci            <file variant="compact">DroidNaskhUI-Regular.ttf</file>
40cb93a386Sopenharmony_ci        </fileset>
41cb93a386Sopenharmony_ci    </family>
42cb93a386Sopenharmony_ci    <family>
43cb93a386Sopenharmony_ci        <fileset>
44cb93a386Sopenharmony_ci            <file>DroidSansEthiopic-Regular.ttf</file>
45cb93a386Sopenharmony_ci        </fileset>
46cb93a386Sopenharmony_ci    </family>
47cb93a386Sopenharmony_ci    <family>
48cb93a386Sopenharmony_ci        <fileset>
49cb93a386Sopenharmony_ci            <file>DroidSansHebrew-Regular.ttf</file>
50cb93a386Sopenharmony_ci            <file>DroidSansHebrew-Bold.ttf</file>
51cb93a386Sopenharmony_ci        </fileset>
52cb93a386Sopenharmony_ci    </family>
53cb93a386Sopenharmony_ci    <family>
54cb93a386Sopenharmony_ci        <fileset>
55cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansThai-Regular.ttf</file>
56cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansThai-Bold.ttf</file>
57cb93a386Sopenharmony_ci        </fileset>
58cb93a386Sopenharmony_ci    </family>
59cb93a386Sopenharmony_ci    <family>
60cb93a386Sopenharmony_ci        <fileset>
61cb93a386Sopenharmony_ci            <file variant="compact">NotoSansThaiUI-Regular.ttf</file>
62cb93a386Sopenharmony_ci            <file variant="compact">NotoSansThaiUI-Bold.ttf</file>
63cb93a386Sopenharmony_ci        </fileset>
64cb93a386Sopenharmony_ci    </family>
65cb93a386Sopenharmony_ci    <family>
66cb93a386Sopenharmony_ci        <fileset>
67cb93a386Sopenharmony_ci            <file>DroidSansArmenian.ttf</file>
68cb93a386Sopenharmony_ci        </fileset>
69cb93a386Sopenharmony_ci    </family>
70cb93a386Sopenharmony_ci    <family>
71cb93a386Sopenharmony_ci        <fileset>
72cb93a386Sopenharmony_ci            <file>DroidSansGeorgian.ttf</file>
73cb93a386Sopenharmony_ci        </fileset>
74cb93a386Sopenharmony_ci    </family>
75cb93a386Sopenharmony_ci    <family>
76cb93a386Sopenharmony_ci        <fileset>
77cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansDevanagari-Regular.ttf</file>
78cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansDevanagari-Bold.ttf</file>
79cb93a386Sopenharmony_ci        </fileset>
80cb93a386Sopenharmony_ci    </family>
81cb93a386Sopenharmony_ci    <family>
82cb93a386Sopenharmony_ci        <fileset>
83cb93a386Sopenharmony_ci            <file variant="compact">NotoSansDevanagariUI-Regular.ttf</file>
84cb93a386Sopenharmony_ci            <file variant="compact">NotoSansDevanagariUI-Bold.ttf</file>
85cb93a386Sopenharmony_ci        </fileset>
86cb93a386Sopenharmony_ci    </family>
87cb93a386Sopenharmony_ci    <family>
88cb93a386Sopenharmony_ci        <fileset>
89cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansTamil-Regular.ttf</file>
90cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansTamil-Bold.ttf</file>
91cb93a386Sopenharmony_ci        </fileset>
92cb93a386Sopenharmony_ci    </family>
93cb93a386Sopenharmony_ci    <family>
94cb93a386Sopenharmony_ci        <fileset>
95cb93a386Sopenharmony_ci            <file variant="compact">NotoSansTamilUI-Regular.ttf</file>
96cb93a386Sopenharmony_ci            <file variant="compact">NotoSansTamilUI-Bold.ttf</file>
97cb93a386Sopenharmony_ci        </fileset>
98cb93a386Sopenharmony_ci    </family>
99cb93a386Sopenharmony_ci    <family>
100cb93a386Sopenharmony_ci        <fileset>
101cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansMalayalam-Regular.ttf</file>
102cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansMalayalam-Bold.ttf</file>
103cb93a386Sopenharmony_ci        </fileset>
104cb93a386Sopenharmony_ci    </family>
105cb93a386Sopenharmony_ci    <family>
106cb93a386Sopenharmony_ci        <fileset>
107cb93a386Sopenharmony_ci            <file variant="compact">NotoSansMalayalamUI-Regular.ttf</file>
108cb93a386Sopenharmony_ci            <file variant="compact">NotoSansMalayalamUI-Bold.ttf</file>
109cb93a386Sopenharmony_ci        </fileset>
110cb93a386Sopenharmony_ci    </family>
111cb93a386Sopenharmony_ci    <family>
112cb93a386Sopenharmony_ci        <fileset>
113cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansBengali-Regular.ttf</file>
114cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansBengali-Bold.ttf</file>
115cb93a386Sopenharmony_ci        </fileset>
116cb93a386Sopenharmony_ci    </family>
117cb93a386Sopenharmony_ci    <family>
118cb93a386Sopenharmony_ci        <fileset>
119cb93a386Sopenharmony_ci            <file variant="compact">NotoSansBengaliUI-Regular.ttf</file>
120cb93a386Sopenharmony_ci            <file variant="compact">NotoSansBengaliUI-Bold.ttf</file>
121cb93a386Sopenharmony_ci        </fileset>
122cb93a386Sopenharmony_ci    </family>
123cb93a386Sopenharmony_ci    <family>
124cb93a386Sopenharmony_ci        <fileset>
125cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansTelugu-Regular.ttf</file>
126cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansTelugu-Bold.ttf</file>
127cb93a386Sopenharmony_ci        </fileset>
128cb93a386Sopenharmony_ci    </family>
129cb93a386Sopenharmony_ci    <family>
130cb93a386Sopenharmony_ci        <fileset>
131cb93a386Sopenharmony_ci            <file variant="compact">NotoSansTeluguUI-Regular.ttf</file>
132cb93a386Sopenharmony_ci            <file variant="compact">NotoSansTeluguUI-Bold.ttf</file>
133cb93a386Sopenharmony_ci        </fileset>
134cb93a386Sopenharmony_ci    </family>
135cb93a386Sopenharmony_ci    <family>
136cb93a386Sopenharmony_ci        <fileset>
137cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansKannada-Regular.ttf</file>
138cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansKannada-Bold.ttf</file>
139cb93a386Sopenharmony_ci        </fileset>
140cb93a386Sopenharmony_ci    </family>
141cb93a386Sopenharmony_ci    <family>
142cb93a386Sopenharmony_ci        <fileset>
143cb93a386Sopenharmony_ci            <file variant="compact">NotoSansKannadaUI-Regular.ttf</file>
144cb93a386Sopenharmony_ci            <file variant="compact">NotoSansKannadaUI-Bold.ttf</file>
145cb93a386Sopenharmony_ci        </fileset>
146cb93a386Sopenharmony_ci    </family>
147cb93a386Sopenharmony_ci    <family>
148cb93a386Sopenharmony_ci        <fileset>
149cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansKhmer-Regular.ttf</file>
150cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansKhmer-Bold.ttf</file>
151cb93a386Sopenharmony_ci        </fileset>
152cb93a386Sopenharmony_ci    </family>
153cb93a386Sopenharmony_ci    <family>
154cb93a386Sopenharmony_ci        <fileset>
155cb93a386Sopenharmony_ci            <file variant="compact">NotoSansKhmerUI-Regular.ttf</file>
156cb93a386Sopenharmony_ci            <file variant="compact">NotoSansKhmerUI-Bold.ttf</file>
157cb93a386Sopenharmony_ci        </fileset>
158cb93a386Sopenharmony_ci    </family>
159cb93a386Sopenharmony_ci    <family>
160cb93a386Sopenharmony_ci        <fileset>
161cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansLao-Regular.ttf</file>
162cb93a386Sopenharmony_ci            <file variant="elegant">NotoSansLao-Bold.ttf</file>
163cb93a386Sopenharmony_ci        </fileset>
164cb93a386Sopenharmony_ci    </family>
165cb93a386Sopenharmony_ci    <family>
166cb93a386Sopenharmony_ci        <fileset>
167cb93a386Sopenharmony_ci            <file variant="compact">NotoSansLaoUI-Regular.ttf</file>
168cb93a386Sopenharmony_ci            <file variant="compact">NotoSansLaoUI-Bold.ttf</file>
169cb93a386Sopenharmony_ci        </fileset>
170cb93a386Sopenharmony_ci    </family>
171cb93a386Sopenharmony_ci    <family>
172cb93a386Sopenharmony_ci        <fileset>
173cb93a386Sopenharmony_ci            <file>NanumGothic.ttf</file>
174cb93a386Sopenharmony_ci        </fileset>
175cb93a386Sopenharmony_ci    </family>
176cb93a386Sopenharmony_ci    <family>
177cb93a386Sopenharmony_ci        <fileset>
178cb93a386Sopenharmony_ci            <file>Padauk-book.ttf</file>
179cb93a386Sopenharmony_ci            <file>Padauk-bookbold.ttf</file>
180cb93a386Sopenharmony_ci        </fileset>
181cb93a386Sopenharmony_ci    </family>
182cb93a386Sopenharmony_ci    <family>
183cb93a386Sopenharmony_ci        <fileset>
184cb93a386Sopenharmony_ci            <file>NotoSansSymbols-Regular.ttf</file>
185cb93a386Sopenharmony_ci        </fileset>
186cb93a386Sopenharmony_ci    </family>
187cb93a386Sopenharmony_ci    <family>
188cb93a386Sopenharmony_ci        <fileset>
189cb93a386Sopenharmony_ci            <file>AndroidEmoji.ttf</file>
190cb93a386Sopenharmony_ci        </fileset>
191cb93a386Sopenharmony_ci    </family>
192cb93a386Sopenharmony_ci    <family>
193cb93a386Sopenharmony_ci        <fileset>
194cb93a386Sopenharmony_ci            <file>NotoColorEmoji.ttf</file>
195cb93a386Sopenharmony_ci        </fileset>
196cb93a386Sopenharmony_ci    </family>
197cb93a386Sopenharmony_ci    <family>
198cb93a386Sopenharmony_ci        <fileset>
199cb93a386Sopenharmony_ci            <file>DroidSansFallback.ttf</file>
200cb93a386Sopenharmony_ci        </fileset>
201cb93a386Sopenharmony_ci    </family>
202cb93a386Sopenharmony_ci    <family>
203cb93a386Sopenharmony_ci        <fileset>
204cb93a386Sopenharmony_ci            <file lang="ja">MTLmr3m.ttf</file>
205cb93a386Sopenharmony_ci        </fileset>
206cb93a386Sopenharmony_ci    </family>
207cb93a386Sopenharmony_ci    <!-- Note: complex scripts (i.e. those requiring shaping in Harfbuzz) have
208cb93a386Sopenharmony_ci         a cumulative limit of 64k glyphs. Thus, if they are placed after the
209cb93a386Sopenharmony_ci         large fonts such as DroidSansFallback, they are likely to render
210cb93a386Sopenharmony_ci         incorrectly. Please use caution when putting fonts toward the end of
211cb93a386Sopenharmony_ci         the list.
212cb93a386Sopenharmony_ci    -->
213cb93a386Sopenharmony_ci</familyset>
214