Chet Haase | c8f060c | 2011-07-06 11:17:26 -0700 | [diff] [blame] | 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 | <familyset> |
| 26 | <family> |
| 27 | <fileset> |
| 28 | <file>DroidSansArabic.ttf</file> |
| 29 | </fileset> |
| 30 | </family> |
| 31 | <family> |
| 32 | <fileset> |
| 33 | <file>DroidSansHebrew-Regular.ttf</file> |
| 34 | <file>DroidSansHebrew-Bold.ttf</file> |
| 35 | </fileset> |
| 36 | </family> |
| 37 | <family> |
| 38 | <fileset> |
| 39 | <file>DroidSansThai.ttf</file> |
| 40 | </fileset> |
| 41 | </family> |
| 42 | <family> |
| 43 | <fileset> |
| 44 | <file>DroidSansFallback.ttf</file> |
| 45 | </fileset> |
| 46 | </family> |
| 47 | </familyset> |