OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | 2 <!-- |
3 Fallback Fonts | 3 Fallback Fonts |
4 | 4 |
5 This file specifies the fonts, and the priority order, that will be searched
for any | 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_font
s.xml. | 6 glyphs not handled by the default fonts specified in /system/etc/system_font
s.xml. |
7 Each entry consists of a family tag and a list of files (file names) which s
upport that | 7 Each entry consists of a family tag and a list of files (file names) which s
upport that |
8 family. The fonts for each family are listed in the order of the styles that
they | 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 | 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 fallbac
k fonts | 10 families are listed in this file represents the order in which these fallbac
k fonts |
11 will be searched for glyphs that are not supported by the default system fon
ts (which are | 11 will be searched for glyphs that are not supported by the default system fon
ts (which are |
12 found in /system/etc/system_fonts.xml). | 12 found in /system/etc/system_fonts.xml). |
13 | 13 |
14 Note that there is not nameset for fallback fonts, unlike the fonts specifie
d in | 14 Note that there is not nameset for fallback fonts, unlike the fonts specifie
d in |
15 system_fonts.xml. The ability to support specific names in fallback fonts ma
y be supported | 15 system_fonts.xml. The ability to support specific names in fallback fonts ma
y be supported |
16 in the future. For now, the lack of files entries here is an indicator to th
e system that | 16 in the future. For now, the lack of files entries here is an indicator to th
e system that |
17 these are fallback fonts, instead of default named system fonts. | 17 these are fallback fonts, instead of default named system fonts. |
18 | 18 |
19 There is another optional file in /vendor/etc/fallback_fonts.xml. That file
can be used to | 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 | 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 f
onts should be | 21 fallback fonts. That file can also specify the order in which the fallback f
onts should be |
22 searched, to ensure that a vendor-provided font will be used before another
fallback font | 22 searched, to ensure that a vendor-provided font will be used before another
fallback font |
23 which happens to handle the same glyph. | 23 which happens to handle the same glyph. |
| 24 |
| 25 Han languages (Chinese, Japanese, and Korean) share a common range of unicod
e characters; |
| 26 their ordering in the fallback or vendor files gives priority to the first i
n the list. |
| 27 Locale-specific ordering can be configured by adding language and region cod
es to the end |
| 28 of the filename (e.g. /system/etc/fallback_fonts-ja.xml). When no region cod
e is used, |
| 29 as with this example, all regions are matched. Use separate files for each s
upported locale. |
| 30 The standard fallback file (fallback_fonts.xml) is used when a locale does n
ot have its own |
| 31 file. All fallback files must contain the same complete set of fonts; only t
heir ordering |
| 32 can differ. |
24 --> | 33 --> |
25 <familyset> | 34 <familyset> |
26 <family> | 35 <family> |
27 <fileset> | 36 <fileset> |
28 <file>DroidNaskh-Regular.ttf</file> | 37 <file>DroidNaskh-Regular-SystemUI.ttf</file> |
29 </fileset> | 38 </fileset> |
30 </family> | 39 </family> |
31 <family> | 40 <family> |
32 <fileset> | 41 <fileset> |
33 <file>DroidSansEthiopic-Regular.ttf</file> | 42 <file>DroidSansEthiopic-Regular.ttf</file> |
34 </fileset> | 43 </fileset> |
35 </family> | 44 </family> |
36 <family> | 45 <family> |
37 <fileset> | 46 <fileset> |
38 <file>DroidSansHebrew-Regular.ttf</file> | 47 <file>DroidSansHebrew-Regular.ttf</file> |
(...skipping 10 matching lines...) Expand all Loading... |
49 <file>DroidSansArmenian.ttf</file> | 58 <file>DroidSansArmenian.ttf</file> |
50 </fileset> | 59 </fileset> |
51 </family> | 60 </family> |
52 <family> | 61 <family> |
53 <fileset> | 62 <fileset> |
54 <file>DroidSansGeorgian.ttf</file> | 63 <file>DroidSansGeorgian.ttf</file> |
55 </fileset> | 64 </fileset> |
56 </family> | 65 </family> |
57 <family> | 66 <family> |
58 <fileset> | 67 <fileset> |
59 <file>Lohit-Devanagari.ttf</file> | 68 <file>DroidSansDevanagari-Regular.ttf</file> |
60 </fileset> | 69 </fileset> |
61 </family> | 70 </family> |
62 <family> | 71 <family> |
| 72 <fileset> |
| 73 <file>DroidSansTamil-Regular.ttf</file> |
| 74 <file>DroidSansTamil-Bold.ttf</file> |
| 75 </fileset> |
| 76 </family> |
| 77 <family> |
| 78 <fileset> |
| 79 <file>AnjaliNewLipi-light.ttf</file> |
| 80 </fileset> |
| 81 </family> |
| 82 <family> |
63 <fileset> | 83 <fileset> |
64 <file>Lohit-Bengali.ttf</file> | 84 <file>Lohit-Bengali.ttf</file> |
65 </fileset> | 85 </fileset> |
66 </family> | 86 </family> |
67 <family> | 87 <family> |
68 <fileset> | 88 <fileset> |
69 <file>Lohit-Tamil.ttf</file> | 89 <file>Lohit-Kannada.ttf</file> |
70 </fileset> | 90 </fileset> |
71 </family> | 91 </family> |
72 <family> | 92 <family> |
| 93 <fileset> |
| 94 <file>Lohit-Telugu.ttf</file> |
| 95 </fileset> |
| 96 </family> |
| 97 <family> |
| 98 <fileset> |
| 99 <file>AndroidEmoji.ttf</file> |
| 100 </fileset> |
| 101 </family> |
| 102 <family> |
| 103 <fileset> |
| 104 <file>MTLmr3m.ttf</file> |
| 105 </fileset> |
| 106 </family> |
| 107 <family> |
73 <fileset> | 108 <fileset> |
74 <file>DroidSansFallback.ttf</file> | 109 <file>DroidSansFallback.ttf</file> |
75 </fileset> | 110 </fileset> |
76 </family> | 111 </family> |
77 </familyset> | 112 </familyset> |
OLD | NEW |