fallback_fonts.xml revision 411b30cb56a91d0f817b9068054a7c43275a8996
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    NOTE: this file is the legacy format, for compatibility with apps. The new,
4    more flexible format is fonts.xml. Please keep the two in sync until the legacy
5    format can be fully removed.
6
7    Fallback Fonts
8
9    This file specifies the fonts, and the priority order, that will be searched for any
10    glyphs not handled by the default fonts specified in /system/etc/system_fonts.xml.
11    Each entry consists of a family tag and a list of files (file names) which support that
12    family. The fonts for each family are listed in the order of the styles that they
13    handle (the order is: regular, bold, italic, and bold-italic). The order in which the
14    families are listed in this file represents the order in which these fallback fonts
15    will be searched for glyphs that are not supported by the default system fonts (which are
16    found in /system/etc/system_fonts.xml).
17
18    Note that there is not nameset for fallback fonts, unlike the fonts specified in
19    system_fonts.xml. The ability to support specific names in fallback fonts may be supported
20    in the future. For now, the lack of files entries here is an indicator to the system that
21    these are fallback fonts, instead of default named system fonts.
22
23    There is another optional file in /vendor/etc/fallback_fonts.xml. That file can be used to
24    provide references to other font families that should be used in addition to the default
25    fallback fonts. That file can also specify the order in which the fallback fonts should be
26    searched, to ensure that a vendor-provided font will be used before another fallback font
27    which happens to handle the same glyph.
28
29    Han languages (Chinese, Japanese, and Korean) share a common range of unicode characters;
30    their ordering in the fallback or vendor files gives priority to the first in the list.
31    Language-specific ordering can be configured by adding a BCP 47-style "lang" attribute to
32    a "file" element; fonts matching the language of text being drawn will be prioritised over
33    all others.
34-->
35<familyset>
36    <family>
37        <fileset>
38            <file variant="elegant">NotoNaskh-Regular.ttf</file>
39            <file variant="elegant">NotoNaskh-Bold.ttf</file>
40        </fileset>
41    </family>
42    <family>
43        <fileset>
44            <file variant="compact">NotoNaskhUI-Regular.ttf</file>
45            <file variant="compact">NotoNaskhUI-Bold.ttf</file>
46        </fileset>
47    </family>
48    <family>
49        <fileset>
50            <file>NotoSansEthiopic-Regular.ttf</file>
51            <file>NotoSansEthiopic-Bold.ttf</file>
52        </fileset>
53    </family>
54    <family>
55        <fileset>
56            <file>NotoSansHebrew-Regular.ttf</file>
57            <file>NotoSansHebrew-Bold.ttf</file>
58        </fileset>
59    </family>
60    <family>
61        <fileset>
62            <file variant="elegant">NotoSansThai-Regular.ttf</file>
63            <file variant="elegant">NotoSansThai-Bold.ttf</file>
64        </fileset>
65    </family>
66    <family>
67        <fileset>
68            <file variant="compact">NotoSansThaiUI-Regular.ttf</file>
69            <file variant="compact">NotoSansThaiUI-Bold.ttf</file>
70        </fileset>
71    </family>
72    <family>
73        <fileset>
74            <file>NotoSansArmenian-Regular.ttf</file>
75            <file>NotoSansArmenian-Bold.ttf</file>
76        </fileset>
77    </family>
78    <family>
79        <fileset>
80            <file>NotoSansGeorgian-Regular.ttf</file>
81            <file>NotoSansGeorgian-Bold.ttf</file>
82        </fileset>
83    </family>
84    <family>
85        <fileset>
86            <file variant="elegant">NotoSansDevanagari-Regular.ttf</file>
87            <file variant="elegant">NotoSansDevanagari-Bold.ttf</file>
88        </fileset>
89    </family>
90    <family>
91        <fileset>
92            <file variant="compact">NotoSansDevanagariUI-Regular.ttf</file>
93            <file variant="compact">NotoSansDevanagariUI-Bold.ttf</file>
94        </fileset>
95    </family>
96    <!-- Gujarati should come after Devanagari -->
97    <family>
98        <fileset>
99            <file variant="elegant">NotoSansGujarati-Regular.ttf</file>
100            <file variant="elegant">NotoSansGujarati-Bold.ttf</file>
101        </fileset>
102    </family>
103    <family>
104        <fileset>
105            <file variant="compact">NotoSansGujaratiUI-Regular.ttf</file>
106            <file variant="compact">NotoSansGujaratiUI-Bold.ttf</file>
107        </fileset>
108    </family>
109    <!-- Gurmukhi should come after Devanagari -->
110    <family>
111        <fileset>
112            <file variant="elegant">NotoSansGurmukhi-Regular.ttf</file>
113            <file variant="elegant">NotoSansGurmukhi-Bold.ttf</file>
114        </fileset>
115    </family>
116    <family>
117        <fileset>
118            <file variant="compact">NotoSansGurmukhiUI-Regular.ttf</file>
119            <file variant="compact">NotoSansGurmukhiUI-Bold.ttf</file>
120        </fileset>
121    </family>
122    <family>
123        <fileset>
124            <file variant="elegant">NotoSansTamil-Regular.ttf</file>
125            <file variant="elegant">NotoSansTamil-Bold.ttf</file>
126        </fileset>
127    </family>
128    <family>
129        <fileset>
130            <file variant="compact">NotoSansTamilUI-Regular.ttf</file>
131            <file variant="compact">NotoSansTamilUI-Bold.ttf</file>
132        </fileset>
133    </family>
134    <family>
135        <fileset>
136            <file variant="elegant">NotoSansMalayalam-Regular.ttf</file>
137            <file variant="elegant">NotoSansMalayalam-Bold.ttf</file>
138        </fileset>
139    </family>
140    <family>
141        <fileset>
142            <file variant="compact">NotoSansMalayalamUI-Regular.ttf</file>
143            <file variant="compact">NotoSansMalayalamUI-Bold.ttf</file>
144        </fileset>
145    </family>
146    <family>
147        <fileset>
148            <file variant="elegant">NotoSansBengali-Regular.ttf</file>
149            <file variant="elegant">NotoSansBengali-Bold.ttf</file>
150        </fileset>
151    </family>
152    <family>
153        <fileset>
154            <file variant="compact">NotoSansBengaliUI-Regular.ttf</file>
155            <file variant="compact">NotoSansBengaliUI-Bold.ttf</file>
156        </fileset>
157    </family>
158    <family>
159        <fileset>
160            <file variant="elegant">NotoSansTelugu-Regular.ttf</file>
161            <file variant="elegant">NotoSansTelugu-Bold.ttf</file>
162        </fileset>
163    </family>
164    <family>
165        <fileset>
166            <file variant="compact">NotoSansTeluguUI-Regular.ttf</file>
167            <file variant="compact">NotoSansTeluguUI-Bold.ttf</file>
168        </fileset>
169    </family>
170    <family>
171        <fileset>
172            <file variant="elegant">NotoSansKannada-Regular.ttf</file>
173            <file variant="elegant">NotoSansKannada-Bold.ttf</file>
174        </fileset>
175    </family>
176    <family>
177        <fileset>
178            <file variant="compact">NotoSansKannadaUI-Regular.ttf</file>
179            <file variant="compact">NotoSansKannadaUI-Bold.ttf</file>
180        </fileset>
181    </family>
182    <family>
183        <fileset>
184            <file>NotoSansSinhala-Regular.ttf</file>
185            <file>NotoSansSinhala-Bold.ttf</file>
186        </fileset>
187    </family>
188    <family>
189        <fileset>
190            <file variant="elegant">NotoSansKhmer-Regular.ttf</file>
191            <file variant="elegant">NotoSansKhmer-Bold.ttf</file>
192        </fileset>
193    </family>
194    <family>
195        <fileset>
196            <file variant="compact">NotoSansKhmerUI-Regular.ttf</file>
197            <file variant="compact">NotoSansKhmerUI-Bold.ttf</file>
198        </fileset>
199    </family>
200    <family>
201        <fileset>
202            <file variant="elegant">NotoSansLao-Regular.ttf</file>
203            <file variant="elegant">NotoSansLao-Bold.ttf</file>
204        </fileset>
205    </family>
206    <family>
207        <fileset>
208            <file variant="compact">NotoSansLaoUI-Regular.ttf</file>
209            <file variant="compact">NotoSansLaoUI-Bold.ttf</file>
210        </fileset>
211    </family>
212    <family>
213        <fileset>
214            <file variant="elegant">NotoSansMyanmar-Regular.ttf</file>
215            <file variant="elegant">NotoSansMyanmar-Bold.ttf</file>
216        </fileset>
217    </family>
218    <family>
219        <fileset>
220            <file variant="compact">NotoSansMyanmarUI-Regular.ttf</file>
221            <file variant="compact">NotoSansMyanmarUI-Bold.ttf</file>
222        </fileset>
223    </family>
224    <family>
225        <fileset>
226            <file>NotoSansThaana-Regular.ttf</file>
227            <file>NotoSansThaana-Bold.ttf</file>
228        </fileset>
229    </family>
230    <family>
231        <fileset>
232            <file>NotoSansBalinese-Regular.ttf</file>
233        </fileset>
234    </family>
235    <family>
236        <fileset>
237            <file>NotoSansBatak-Regular.ttf</file>
238        </fileset>
239    </family>
240    <family>
241        <fileset>
242            <file>NotoSansBuginese-Regular.ttf</file>
243        </fileset>
244    </family>
245    <family>
246        <fileset>
247            <file>NotoSansBuhid-Regular.ttf</file>
248        </fileset>
249    </family>
250    <family>
251        <fileset>
252            <file>NotoSansCanadianAboriginal-Regular.ttf</file>
253        </fileset>
254    </family>
255    <family>
256        <fileset>
257            <file>NotoSansCherokee-Regular.ttf</file>
258        </fileset>
259    </family>
260    <family>
261        <fileset>
262            <file>NotoSansHanunoo-Regular.ttf</file>
263        </fileset>
264    </family>
265    <family>
266        <fileset>
267            <file>NotoSansJavanese-Regular.ttf</file>
268        </fileset>
269    </family>
270    <family>
271        <fileset>
272            <file>NotoSansLepcha-Regular.ttf</file>
273        </fileset>
274    </family>
275    <family>
276        <fileset>
277            <file>NotoSansLimbu-Regular.ttf</file>
278        </fileset>
279    </family>
280    <family>
281        <fileset>
282            <file>NotoSansMeeteiMayek-Regular.ttf</file>
283        </fileset>
284    </family>
285    <family>
286        <fileset>
287            <file>NotoSansOlChiki-Regular.ttf</file>
288        </fileset>
289    </family>
290    <family>
291        <fileset>
292            <file>NotoSansRejang-Regular.ttf</file>
293        </fileset>
294    </family>
295    <family>
296        <fileset>
297            <file>NotoSansSaurashtra-Regular.ttf</file>
298        </fileset>
299    </family>
300    <family>
301        <fileset>
302            <file>NotoSansSundanese-Regular.ttf</file>
303        </fileset>
304    </family>
305    <family>
306        <fileset>
307            <file>NotoSansSylotiNagri-Regular.ttf</file>
308        </fileset>
309    </family>
310    <family>
311        <fileset>
312            <file>NotoSansTagbanwa-Regular.ttf</file>
313        </fileset>
314    </family>
315    <family>
316        <fileset>
317            <file>NotoSansYi-Regular.ttf</file>
318        </fileset>
319    </family>
320    <family>
321        <fileset>
322            <file>Lohit-Odia.ttf</file>
323        </fileset>
324    </family>
325    <family>
326        <fileset>
327            <file lang="zh-Hans">NotoSansHans-Regular.otf</file>
328        </fileset>
329    </family>
330    <family>
331        <fileset>
332            <file lang="zh-Hant">NotoSansHant-Regular.otf</file>
333        </fileset>
334    </family>
335    <family>
336        <fileset>
337            <file lang="ja">NotoSansJP-Regular.otf</file>
338        </fileset>
339    </family>
340    <family>
341        <fileset>
342            <file lang="ko">NotoSansKR-Regular.otf</file>
343        </fileset>
344    </family>
345    <family>
346        <fileset>
347            <file>NanumGothic.ttf</file>
348        </fileset>
349    </family>
350    <family>
351        <fileset>
352            <file>NotoSansSymbols-Regular-Subsetted.ttf</file>
353        </fileset>
354    </family>
355    <family>
356        <fileset>
357            <file>NotoColorEmoji.ttf</file>
358        </fileset>
359    </family>
360    <family>
361        <fileset>
362            <file>DroidSansFallback.ttf</file>
363        </fileset>
364    </family>
365    <family>
366        <fileset>
367            <file lang="ja">MTLmr3m.ttf</file>
368        </fileset>
369    </family>
370    <!-- Note: complex scripts (i.e. those requiring shaping in Harfbuzz) have
371         a cumulative limit of 64k glyphs. Thus, if they are placed after the
372         large fonts such as DroidSansFallback, they are likely to render
373         incorrectly. Please use caution when putting fonts toward the end of
374         the list.
375    -->
376</familyset>
377