• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Fallback Fonts
4
5    This file specifies the fonts, and the priority order, that will be searched for any
6    glyphs not handled by the default fonts specified in /system/etc/system_fonts.xml.
7    Each entry consists of a family tag and a list of files (file names) which support that
8    family. The fonts for each family are listed in the order of the styles that they
9    handle (the order is: regular, bold, italic, and bold-italic). The order in which the
10    families are listed in this file represents the order in which these fallback fonts
11    will be searched for glyphs that are not supported by the default system fonts (which are
12    found in /system/etc/system_fonts.xml).
13
14    Note that there is not nameset for fallback fonts, unlike the fonts specified in
15    system_fonts.xml. The ability to support specific names in fallback fonts may be supported
16    in the future. For now, the lack of files entries here is an indicator to the system that
17    these are fallback fonts, instead of default named system fonts.
18
19    There is another optional file in /vendor/etc/fallback_fonts.xml. That file can be used to
20    provide references to other font families that should be used in addition to the default
21    fallback fonts. That file can also specify the order in which the fallback fonts should be
22    searched, to ensure that a vendor-provided font will be used before another fallback font
23    which happens to handle the same glyph.
24
25    Han languages (Chinese, Japanese, and Korean) share a common range of unicode characters;
26    their ordering in the fallback or vendor files gives priority to the first in the list.
27    Language-specific ordering can be configured by adding a BCP 47-style "lang" attribute to
28    a "file" element; fonts matching the language of text being drawn will be prioritised over
29    all others.
30-->
31<familyset>
32    <family>
33        <fileset>
34            <file variant="elegant">DroidNaskh-Regular.ttf</file>
35        </fileset>
36    </family>
37    <family>
38        <fileset>
39            <file variant="compact">DroidNaskhUI-Regular.ttf</file>
40        </fileset>
41    </family>
42    <family>
43        <fileset>
44            <file>DroidSansEthiopic-Regular.ttf</file>
45        </fileset>
46    </family>
47    <family>
48        <fileset>
49            <file>DroidSansHebrew-Regular.ttf</file>
50            <file>DroidSansHebrew-Bold.ttf</file>
51        </fileset>
52    </family>
53    <family>
54        <fileset>
55            <file variant="elegant">NotoSansThai-Regular.ttf</file>
56            <file variant="elegant">NotoSansThai-Bold.ttf</file>
57        </fileset>
58    </family>
59    <family>
60        <fileset>
61            <file variant="compact">NotoSansThaiUI-Regular.ttf</file>
62            <file variant="compact">NotoSansThaiUI-Bold.ttf</file>
63        </fileset>
64    </family>
65    <family>
66        <fileset>
67            <file>DroidSansArmenian.ttf</file>
68        </fileset>
69    </family>
70    <family>
71        <fileset>
72            <file>DroidSansGeorgian.ttf</file>
73        </fileset>
74    </family>
75    <family>
76        <fileset>
77            <file variant="elegant">NotoSansDevanagari-Regular.ttf</file>
78            <file variant="elegant">NotoSansDevanagari-Bold.ttf</file>
79        </fileset>
80    </family>
81    <family>
82        <fileset>
83            <file variant="compact">NotoSansDevanagariUI-Regular.ttf</file>
84            <file variant="compact">NotoSansDevanagariUI-Bold.ttf</file>
85        </fileset>
86    </family>
87    <family>
88        <fileset>
89            <file variant="elegant">NotoSansTamil-Regular.ttf</file>
90            <file variant="elegant">NotoSansTamil-Bold.ttf</file>
91        </fileset>
92    </family>
93    <family>
94        <fileset>
95            <file variant="compact">NotoSansTamilUI-Regular.ttf</file>
96            <file variant="compact">NotoSansTamilUI-Bold.ttf</file>
97        </fileset>
98    </family>
99    <family>
100        <fileset>
101            <file variant="elegant">NotoSansMalayalam-Regular.ttf</file>
102            <file variant="elegant">NotoSansMalayalam-Bold.ttf</file>
103        </fileset>
104    </family>
105    <family>
106        <fileset>
107            <file variant="compact">NotoSansMalayalamUI-Regular.ttf</file>
108            <file variant="compact">NotoSansMalayalamUI-Bold.ttf</file>
109        </fileset>
110    </family>
111    <family>
112        <fileset>
113            <file variant="elegant">NotoSansBengali-Regular.ttf</file>
114            <file variant="elegant">NotoSansBengali-Bold.ttf</file>
115        </fileset>
116    </family>
117    <family>
118        <fileset>
119            <file variant="compact">NotoSansBengaliUI-Regular.ttf</file>
120            <file variant="compact">NotoSansBengaliUI-Bold.ttf</file>
121        </fileset>
122    </family>
123    <family>
124        <fileset>
125            <file variant="elegant">NotoSansTelugu-Regular.ttf</file>
126            <file variant="elegant">NotoSansTelugu-Bold.ttf</file>
127        </fileset>
128    </family>
129    <family>
130        <fileset>
131            <file variant="compact">NotoSansTeluguUI-Regular.ttf</file>
132            <file variant="compact">NotoSansTeluguUI-Bold.ttf</file>
133        </fileset>
134    </family>
135    <family>
136        <fileset>
137            <file variant="elegant">NotoSansKannada-Regular.ttf</file>
138            <file variant="elegant">NotoSansKannada-Bold.ttf</file>
139        </fileset>
140    </family>
141    <family>
142        <fileset>
143            <file variant="compact">NotoSansKannadaUI-Regular.ttf</file>
144            <file variant="compact">NotoSansKannadaUI-Bold.ttf</file>
145        </fileset>
146    </family>
147    <family>
148        <fileset>
149            <file variant="elegant">NotoSansKhmer-Regular.ttf</file>
150            <file variant="elegant">NotoSansKhmer-Bold.ttf</file>
151        </fileset>
152    </family>
153    <family>
154        <fileset>
155            <file variant="compact">NotoSansKhmerUI-Regular.ttf</file>
156            <file variant="compact">NotoSansKhmerUI-Bold.ttf</file>
157        </fileset>
158    </family>
159    <family>
160        <fileset>
161            <file variant="elegant">NotoSansLao-Regular.ttf</file>
162            <file variant="elegant">NotoSansLao-Bold.ttf</file>
163        </fileset>
164    </family>
165    <family>
166        <fileset>
167            <file variant="compact">NotoSansLaoUI-Regular.ttf</file>
168            <file variant="compact">NotoSansLaoUI-Bold.ttf</file>
169        </fileset>
170    </family>
171    <family>
172        <fileset>
173            <file>NanumGothic.ttf</file>
174        </fileset>
175    </family>
176    <family>
177        <fileset>
178            <file>Padauk-book.ttf</file>
179            <file>Padauk-bookbold.ttf</file>
180        </fileset>
181    </family>
182    <family>
183        <fileset>
184            <file>NotoSansSymbols-Regular.ttf</file>
185        </fileset>
186    </family>
187    <family>
188        <fileset>
189            <file>AndroidEmoji.ttf</file>
190        </fileset>
191    </family>
192    <family>
193        <fileset>
194            <file>NotoColorEmoji.ttf</file>
195        </fileset>
196    </family>
197    <family>
198        <fileset>
199            <file>DroidSansFallback.ttf</file>
200        </fileset>
201    </family>
202    <family>
203        <fileset>
204            <file lang="ja">MTLmr3m.ttf</file>
205        </fileset>
206    </family>
207    <!-- Note: complex scripts (i.e. those requiring shaping in Harfbuzz) have
208         a cumulative limit of 64k glyphs. Thus, if they are placed after the
209         large fonts such as DroidSansFallback, they are likely to render
210         incorrectly. Please use caution when putting fonts toward the end of
211         the list.
212    -->
213</familyset>
214