Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
migaverse
GitHub Repository: migaverse/skymod
Path: blob/master/system/etc/fallback_fonts.xml
4282 views
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
<!-- Change NotoSansThai to SamsungThai, becuase font size issue -->
61
<family>
62
<fileset>
63
<file>SamsungThai.ttf</file>
64
</fileset>
65
</family>
66
<family>
67
<fileset>
68
<file>NotoSansArmenian-Regular.ttf</file>
69
<file>NotoSansArmenian-Bold.ttf</file>
70
</fileset>
71
</family>
72
<family>
73
<fileset>
74
<file>NotoSansGeorgian-Regular.ttf</file>
75
<file>NotoSansGeorgian-Bold.ttf</file>
76
</fileset>
77
</family>
78
<family>
79
<fileset>
80
<file variant="elegant">NotoSansDevanagari-Regular.ttf</file>
81
<file variant="elegant">NotoSansDevanagari-Bold.ttf</file>
82
</fileset>
83
</family>
84
<family>
85
<fileset>
86
<file variant="compact">NotoSansDevanagariUI-Regular.ttf</file>
87
<file variant="compact">NotoSansDevanagariUI-Bold.ttf</file>
88
</fileset>
89
</family>
90
<!-- Change NotoSansGujarati to SamsungGujarathi, becuase font reshaping issue -->
91
<family>
92
<fileset>
93
<file>SamsungGujarathi.ttf</file>
94
</fileset>
95
</family>
96
<!-- Change NotoSansGurmukhi to SamsungPunjabi, becuase font reshaping issue -->
97
<family>
98
<fileset>
99
<file>SamsungOriya.ttf</file>
100
</fileset>
101
</family>
102
<family>
103
<fileset>
104
<file>SamsungPunjabi.ttf</file>
105
</fileset>
106
</family>
107
<family>
108
<fileset>
109
<file variant="elegant">NotoSansTamil-Regular.ttf</file>
110
<file variant="elegant">NotoSansTamil-Bold.ttf</file>
111
</fileset>
112
</family>
113
<family>
114
<fileset>
115
<file variant="compact">NotoSansTamilUI-Regular.ttf</file>
116
<file variant="compact">NotoSansTamilUI-Bold.ttf</file>
117
</fileset>
118
</family>
119
<family>
120
<fileset>
121
<file variant="elegant">NotoSansMalayalam-Regular.ttf</file>
122
<file variant="elegant">NotoSansMalayalam-Bold.ttf</file>
123
</fileset>
124
</family>
125
<family>
126
<fileset>
127
<file variant="compact">NotoSansMalayalamUI-Regular.ttf</file>
128
<file variant="compact">NotoSansMalayalamUI-Bold.ttf</file>
129
</fileset>
130
</family>
131
<family>
132
<fileset>
133
<file variant="elegant">NotoSansBengali-Regular.ttf</file>
134
<file variant="elegant">NotoSansBengali-Bold.ttf</file>
135
</fileset>
136
</family>
137
<family>
138
<fileset>
139
<file variant="compact">NotoSansBengaliUI-Regular.ttf</file>
140
<file variant="compact">NotoSansBengaliUI-Bold.ttf</file>
141
</fileset>
142
</family>
143
<family>
144
<fileset>
145
<file variant="elegant">NotoSansTelugu-Regular.ttf</file>
146
<file variant="elegant">NotoSansTelugu-Bold.ttf</file>
147
</fileset>
148
</family>
149
<family>
150
<fileset>
151
<file variant="compact">NotoSansTeluguUI-Regular.ttf</file>
152
<file variant="compact">NotoSansTeluguUI-Bold.ttf</file>
153
</fileset>
154
</family>
155
<family>
156
<fileset>
157
<file variant="elegant">NotoSansKannada-Regular.ttf</file>
158
<file variant="elegant">NotoSansKannada-Bold.ttf</file>
159
</fileset>
160
</family>
161
<family>
162
<fileset>
163
<file variant="compact">NotoSansKannadaUI-Regular.ttf</file>
164
<file variant="compact">NotoSansKannadaUI-Bold.ttf</file>
165
</fileset>
166
</family>
167
<family>
168
<fileset>
169
<file>NotoSansSinhala-Regular.ttf</file>
170
<file>NotoSansSinhala-Bold.ttf</file>
171
</fileset>
172
</family>
173
<family>
174
<fileset>
175
<file variant="elegant">NotoSansKhmer-Regular.ttf</file>
176
<file variant="elegant">NotoSansKhmer-Bold.ttf</file>
177
</fileset>
178
</family>
179
<family>
180
<fileset>
181
<file variant="compact">NotoSansKhmerUI-Regular.ttf</file>
182
<file variant="compact">NotoSansKhmerUI-Bold.ttf</file>
183
</fileset>
184
</family>
185
<family>
186
<fileset>
187
<file variant="elegant">NotoSansLao-Regular.ttf</file>
188
<file variant="elegant">NotoSansLao-Bold.ttf</file>
189
</fileset>
190
</family>
191
<family>
192
<fileset>
193
<file variant="compact">NotoSansLaoUI-Regular.ttf</file>
194
<file variant="compact">NotoSansLaoUI-Bold.ttf</file>
195
</fileset>
196
</family>
197
<family>
198
<fileset>
199
<file variant="elegant">NotoSansMyanmar-Regular.ttf</file>
200
<file variant="elegant">NotoSansMyanmar-Bold.ttf</file>
201
</fileset>
202
</family>
203
<family>
204
<fileset>
205
<file variant="compact">NotoSansMyanmarUI-Regular.ttf</file>
206
<file variant="compact">NotoSansMyanmarUI-Bold.ttf</file>
207
</fileset>
208
</family>
209
<family>
210
<fileset>
211
<file>NotoSansThaana-Regular.ttf</file>
212
<file>NotoSansThaana-Bold.ttf</file>
213
</fileset>
214
</family>
215
<family>
216
<fileset>
217
<file>NotoSansCham-Regular.ttf</file>
218
<file>NotoSansCham-Bold.ttf</file>
219
</fileset>
220
</family>
221
<family>
222
<fileset>
223
<file>NotoSansBalinese-Regular.ttf</file>
224
</fileset>
225
</family>
226
<family>
227
<fileset>
228
<file>NotoSansBatak-Regular.ttf</file>
229
</fileset>
230
</family>
231
<family>
232
<fileset>
233
<file>NotoSansBuginese-Regular.ttf</file>
234
</fileset>
235
</family>
236
<family>
237
<fileset>
238
<file>NotoSansBuhid-Regular.ttf</file>
239
</fileset>
240
</family>
241
<family>
242
<fileset>
243
<file>NotoSansCanadianAboriginal-Regular.ttf</file>
244
</fileset>
245
</family>
246
<family>
247
<fileset>
248
<file>NotoSansCherokee-Regular.ttf</file>
249
</fileset>
250
</family>
251
<family>
252
<fileset>
253
<file>NotoSansCoptic-Regular.ttf</file>
254
</fileset>
255
</family>
256
<family>
257
<fileset>
258
<file>NotoSansGlagolitic-Regular.ttf</file>
259
</fileset>
260
</family>
261
<family>
262
<fileset>
263
<file>NotoSansHanunoo-Regular.ttf</file>
264
</fileset>
265
</family>
266
<family>
267
<fileset>
268
<file>NotoSansJavanese-Regular.ttf</file>
269
</fileset>
270
</family>
271
<family>
272
<fileset>
273
<file>NotoSansKayahLi-Regular.ttf</file>
274
</fileset>
275
</family>
276
<family>
277
<fileset>
278
<file>NotoSansLepcha-Regular.ttf</file>
279
</fileset>
280
</family>
281
<family>
282
<fileset>
283
<file>NotoSansLimbu-Regular.ttf</file>
284
</fileset>
285
</family>
286
<family>
287
<fileset>
288
<file>NotoSansMeeteiMayek-Regular.ttf</file>
289
</fileset>
290
</family>
291
<family>
292
<fileset>
293
<file>NotoSansOlChiki-Regular.ttf</file>
294
</fileset>
295
</family>
296
<family>
297
<fileset>
298
<file>NotoSansRejang-Regular.ttf</file>
299
</fileset>
300
</family>
301
<family>
302
<fileset>
303
<file>NotoSansSaurashtra-Regular.ttf</file>
304
</fileset>
305
</family>
306
<family>
307
<fileset>
308
<file>NotoSansSundanese-Regular.ttf</file>
309
</fileset>
310
</family>
311
<family>
312
<fileset>
313
<file>NotoSansSylotiNagri-Regular.ttf</file>
314
</fileset>
315
</family>
316
<family>
317
<fileset>
318
<file>NotoSansTagbanwa-Regular.ttf</file>
319
</fileset>
320
</family>
321
<family>
322
<fileset>
323
<file>NotoSansTaiTham-Regular.ttf</file>
324
</fileset>
325
</family>
326
<family>
327
<fileset>
328
<file>NotoSansTaiViet-Regular.ttf</file>
329
</fileset>
330
</family>
331
<family>
332
<fileset>
333
<file>NotoSansTifinagh-Regular.ttf</file>
334
</fileset>
335
</family>
336
<family>
337
<fileset>
338
<file>NotoSansYi-Regular.ttf</file>
339
</fileset>
340
</family>
341
<family>
342
<fileset>
343
<file>Lohit-Odia.ttf</file>
344
</fileset>
345
</family>
346
<family>
347
<fileset>
348
<file lang="zh-Hans">NotoSansHans-Regular.otf</file>
349
</fileset>
350
</family>
351
<family>
352
<fileset>
353
<file lang="zh-Hant">NotoSansHant-Regular.otf</file>
354
</fileset>
355
</family>
356
<family>
357
<fileset>
358
<file lang="ja">NotoSansJP-Regular.otf</file>
359
</fileset>
360
</family>
361
<!-- Changing the priority of NotoColorEmoji font to be higher than the subset Font for some emoticon -->
362
<family>
363
<fileset>
364
<file>NotoColorEmoji.ttf</file>
365
</fileset>
366
</family>
367
<family>
368
<fileset>
369
<file>NotoSansSymbols-Regular-Subsetted.ttf</file>
370
</fileset>
371
</family>
372
<family>
373
<fileset>
374
<file>DroidSansFallback.ttf</file>
375
</fileset>
376
</family>
377
<!-- Changing the priority of samsungkorean font to be higher than the Google Font, because font style -->
378
<family>
379
<fileset>
380
<file>SamsungKorean.ttf</file>
381
<file>SamsungKorean-Bold.ttf</file>
382
</fileset>
383
</family>
384
<!-- Added SamsungEmoji font for apps that don't support color emoji fonts like Snote -->
385
<family>
386
<fileset>
387
<file>SamsungEmoji.ttf</file>
388
</fileset>
389
</family>
390
<family>
391
<fileset>
392
<file>NotoSansMyanmarZawgyi-Regular.ttf</file>
393
<file>NotoSansMyanmarZawgyi-Bold.ttf</file>
394
</fileset>
395
</family>
396
<family>
397
<fileset>
398
<file>NotoSansKR-Regular.otf</file>
399
</fileset>
400
</family>
401
<family>
402
<fileset>
403
<file>NanumGothic.ttf</file>
404
</fileset>
405
</family>
406
<family>
407
<fileset>
408
<file>MTLmr3m.ttf</file>
409
</fileset>
410
</family>
411
<!--
412
Noto Sans Tai Le is intentionally kept last, to make sure it doesn't override
413
the East Asian punctuation for Chinese.
414
-->
415
<family>
416
<fileset>
417
<file>NotoSansTaiLe-Regular.ttf</file>
418
</fileset>
419
</family>
420
</familyset>
421
422