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