LRX21M.vC1O-0
[GitHub/mt8127/ttab-system.git] / system / etc / fallback_fonts.xml
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>Padauk.ttf</file>
161 </fileset>
162 </family>
163 <family>
164 <fileset>
165 <file>ZawgyiOne.ttf</file>
166 </fileset>
167 </family>
168 <family>
169 <fileset>
170 <file variant="elegant">NotoSansTelugu-Regular.ttf</file>
171 <file variant="elegant">NotoSansTelugu-Bold.ttf</file>
172 </fileset>
173 </family>
174 <family>
175 <fileset>
176 <file variant="compact">NotoSansTeluguUI-Regular.ttf</file>
177 <file variant="compact">NotoSansTeluguUI-Bold.ttf</file>
178 </fileset>
179 </family>
180 <family>
181 <fileset>
182 <file variant="elegant">NotoSansKannada-Regular.ttf</file>
183 <file variant="elegant">NotoSansKannada-Bold.ttf</file>
184 </fileset>
185 </family>
186 <family>
187 <fileset>
188 <file variant="compact">NotoSansKannadaUI-Regular.ttf</file>
189 <file variant="compact">NotoSansKannadaUI-Bold.ttf</file>
190 </fileset>
191 </family>
192 <family>
193 <fileset>
194 <file>NotoSansSinhala-Regular.ttf</file>
195 <file>NotoSansSinhala-Bold.ttf</file>
196 </fileset>
197 </family>
198 <family>
199 <fileset>
200 <file variant="elegant">NotoSansKhmer-Regular.ttf</file>
201 <file variant="elegant">NotoSansKhmer-Bold.ttf</file>
202 </fileset>
203 </family>
204 <family>
205 <fileset>
206 <file variant="compact">NotoSansKhmerUI-Regular.ttf</file>
207 <file variant="compact">NotoSansKhmerUI-Bold.ttf</file>
208 </fileset>
209 </family>
210 <family>
211 <fileset>
212 <file variant="elegant">NotoSansLao-Regular.ttf</file>
213 <file variant="elegant">NotoSansLao-Bold.ttf</file>
214 </fileset>
215 </family>
216 <family>
217 <fileset>
218 <file variant="compact">NotoSansLaoUI-Regular.ttf</file>
219 <file variant="compact">NotoSansLaoUI-Bold.ttf</file>
220 </fileset>
221 </family>
222 <family>
223 <fileset>
224 <file variant="elegant">NotoSansMyanmar-Regular.ttf</file>
225 <file variant="elegant">NotoSansMyanmar-Bold.ttf</file>
226 </fileset>
227 </family>
228 <family>
229 <fileset>
230 <file variant="compact">NotoSansMyanmarUI-Regular.ttf</file>
231 <file variant="compact">NotoSansMyanmarUI-Bold.ttf</file>
232 </fileset>
233 </family>
234 <family>
235 <fileset>
236 <file>NotoSansCherokee-Regular.ttf</file>
237 </fileset>
238 </family>
239 <family>
240 <fileset>
241 <file>NotoSansCanadianAboriginal-Regular.ttf</file>
242 </fileset>
243 </family>
244 <family>
245 <fileset>
246 <file>NotoSansYi-Regular.ttf</file>
247 </fileset>
248 </family>
249 <family>
250 <fileset>
251 <file lang="zh-Hans">NotoSansHans-Regular.otf</file>
252 </fileset>
253 </family>
254 <family>
255 <fileset>
256 <file lang="zh-Hant">NotoSansHant-Regular.otf</file>
257 </fileset>
258 </family>
259 <family>
260 <fileset>
261 <file lang="ja">NotoSansJP-Regular.otf</file>
262 </fileset>
263 </family>
264 <family>
265 <fileset>
266 <file lang="ko">NotoSansKR-Regular.otf</file>
267 </fileset>
268 </family>
269 <family>
270 <fileset>
271 <file>NanumGothic.ttf</file>
272 </fileset>
273 </family>
274 <family>
275 <fileset>
276 <file>NotoSansSymbols-Regular-Subsetted.ttf</file>
277 </fileset>
278 </family>
279 <family>
280 <fileset>
281 <file>NotoColorEmoji.ttf</file>
282 </fileset>
283 </family>
284 <family>
285 <fileset>
286 <file>DroidSansFallback.ttf</file>
287 </fileset>
288 </family>
289 <family>
290 <fileset>
291 <file lang="ja">MTLmr3m.ttf</file>
292 </fileset>
293 </family>
294 <!-- Note: complex scripts (i.e. those requiring shaping in Harfbuzz) have
295 a cumulative limit of 64k glyphs. Thus, if they are placed after the
296 large fonts such as DroidSansFallback, they are likely to render
297 incorrectly. Please use caution when putting fonts toward the end of
298 the list.
299 -->
300 </familyset>