blob: 5f7017e13b792abb01a458c6b72ab636588b5af7 [file] [log] [blame]
Chet Haasec8f060c2011-07-06 11:17:26 -07001<?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.
Russell Brenner2b4b35c2012-03-08 10:25:17 -080024
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 Locale-specific ordering can be configured by adding language and region codes to the end
28 of the filename (e.g. /system/etc/fallback_fonts-ja.xml). When no region code is used,
29 as with this example, all regions are matched. Use separate files for each supported locale.
30 The standard fallback file (fallback_fonts.xml) is used when a locale does not have its own
31 file. All fallback files must contain the same complete set of fonts; only their ordering
32 can differ.
Chet Haasec8f060c2011-07-06 11:17:26 -070033-->
34<familyset>
35 <family>
36 <fileset>
Fabrice Di Megliocf4284b2012-05-04 15:14:58 -070037 <file>DroidNaskh-Regular-SystemUI.ttf</file>
Chet Haasec8f060c2011-07-06 11:17:26 -070038 </fileset>
39 </family>
40 <family>
41 <fileset>
Russell Brenner359d0522011-07-19 10:42:46 -070042 <file>DroidSansEthiopic-Regular.ttf</file>
43 </fileset>
44 </family>
45 <family>
46 <fileset>
Chet Haasec8f060c2011-07-06 11:17:26 -070047 <file>DroidSansHebrew-Regular.ttf</file>
48 <file>DroidSansHebrew-Bold.ttf</file>
49 </fileset>
50 </family>
51 <family>
52 <fileset>
53 <file>DroidSansThai.ttf</file>
54 </fileset>
55 </family>
56 <family>
57 <fileset>
Russell Brennere8a7a722011-09-01 14:12:47 -070058 <file>DroidSansArmenian.ttf</file>
59 </fileset>
60 </family>
61 <family>
62 <fileset>
63 <file>DroidSansGeorgian.ttf</file>
64 </fileset>
65 </family>
66 <family>
67 <fileset>
Victoria Leasebd1844d2012-04-26 11:18:40 -070068 <file>DroidSansDevanagari-Regular.ttf</file>
Russell Brenner36de3692011-07-27 17:36:11 -070069 </fileset>
70 </family>
71 <family>
72 <fileset>
Victoria Leasec24de462012-05-08 11:01:09 -070073 <file>DroidSansTamil-Regular.ttf</file>
74 <file>DroidSansTamil-Bold.ttf</file>
Raph Leviend26e18b2012-05-14 13:11:57 -070075 </fileset>
Victoria Leasec24de462012-05-08 11:01:09 -070076 </family>
77 <family>
78 <fileset>
79 <file>AnjaliNewLipi-light.ttf</file>
80 </fileset>
81 </family>
82 <family>
83 <fileset>
Bart Sears57e08552011-10-26 17:06:23 -070084 <file>Lohit-Bengali.ttf</file>
85 </fileset>
86 </family>
87 <family>
88 <fileset>
Victoria Leasec24de462012-05-08 11:01:09 -070089 <file>Lohit-Kannada.ttf</file>
90 </fileset>
91 </family>
92 <family>
93 <fileset>
94 <file>Lohit-Telugu.ttf</file>
Bart Sears57e08552011-10-26 17:06:23 -070095 </fileset>
96 </family>
97 <family>
98 <fileset>
Bart Searse60bae12011-12-11 18:21:56 -080099 <file>AndroidEmoji.ttf</file>
100 </fileset>
101 </family>
102 <family>
103 <fileset>
Chet Haasec8f060c2011-07-06 11:17:26 -0700104 <file>DroidSansFallback.ttf</file>
105 </fileset>
106 </family>
Russell Brenner1c097a92012-03-28 09:45:27 -0700107 <family>
108 <fileset>
109 <file>MTLmr3m.ttf</file>
110 </fileset>
111 </family>
Chet Haasec8f060c2011-07-06 11:17:26 -0700112</familyset>