Path: blob/master/system/etc/fallback_fonts_legacy.xml
4282 views
<?xml version="1.0" encoding="utf-8"?>1<!--2NOTE: this file is the legacy format, for compatibility with apps. The new,3more flexible format is fonts.xml. Please keep the two in sync until the legacy4format can be fully removed.56Fallback Fonts78This file specifies the fonts, and the priority order, that will be searched for any9glyphs not handled by the default fonts specified in /system/etc/system_fonts.xml.10Each entry consists of a family tag and a list of files (file names) which support that11family. The fonts for each family are listed in the order of the styles that they12handle (the order is: regular, bold, italic, and bold-italic). The order in which the13families are listed in this file represents the order in which these fallback fonts14will be searched for glyphs that are not supported by the default system fonts (which are15found in /system/etc/system_fonts.xml).1617Note that there is not nameset for fallback fonts, unlike the fonts specified in18system_fonts.xml. The ability to support specific names in fallback fonts may be supported19in the future. For now, the lack of files entries here is an indicator to the system that20these are fallback fonts, instead of default named system fonts.2122There is another optional file in /vendor/etc/fallback_fonts.xml. That file can be used to23provide references to other font families that should be used in addition to the default24fallback fonts. That file can also specify the order in which the fallback fonts should be25searched, to ensure that a vendor-provided font will be used before another fallback font26which happens to handle the same glyph.2728Han languages (Chinese, Japanese, and Korean) share a common range of unicode characters;29their ordering in the fallback or vendor files gives priority to the first in the list.30Language-specific ordering can be configured by adding a BCP 47-style "lang" attribute to31a "file" element; fonts matching the language of text being drawn will be prioritised over32all others.33-->34<familyset>35<family>36<fileset>37<file variant="elegant">NotoNaskh-Regular.ttf</file>38<file variant="elegant">NotoNaskh-Bold.ttf</file>39</fileset>40</family>41<family>42<fileset>43<file variant="compact">NotoNaskhUI-Regular.ttf</file>44<file variant="compact">NotoNaskhUI-Bold.ttf</file>45</fileset>46</family>47<family>48<fileset>49<file>NotoSansEthiopic-Regular.ttf</file>50<file>NotoSansEthiopic-Bold.ttf</file>51</fileset>52</family>53<family>54<fileset>55<file>NotoSansHebrew-Regular.ttf</file>56<file>NotoSansHebrew-Bold.ttf</file>57</fileset>58</family>59<!-- Change NotoSansThai to SamsungThai, becuase font size issue -->60<family>61<fileset>62<file>SamsungThai.ttf</file>63</fileset>64</family>65<family>66<fileset>67<file>NotoSansArmenian-Regular.ttf</file>68<file>NotoSansArmenian-Bold.ttf</file>69</fileset>70</family>71<family>72<fileset>73<file>NotoSansGeorgian-Regular.ttf</file>74<file>NotoSansGeorgian-Bold.ttf</file>75</fileset>76</family>77<family>78<fileset>79<file variant="elegant">NotoSansDevanagari-Regular.ttf</file>80<file variant="elegant">NotoSansDevanagari-Bold.ttf</file>81</fileset>82</family>83<family>84<fileset>85<file variant="compact">NotoSansDevanagariUI-Regular.ttf</file>86<file variant="compact">NotoSansDevanagariUI-Bold.ttf</file>87</fileset>88</family>89<!-- Change NotoSansGujarati to SamsungGujarathi, becuase font reshaping issue -->90<family>91<fileset>92<file>SamsungGujarathi.ttf</file>93</fileset>94</family>95<!-- Change NotoSansGurmukhi to SamsungPunjabi, becuase font reshaping issue -->96<family>97<fileset>98<file>SamsungPunjabi.ttf</file>99</fileset>100</family>101<family>102<fileset>103<file variant="elegant">NotoSansTamil-Regular.ttf</file>104<file variant="elegant">NotoSansTamil-Bold.ttf</file>105</fileset>106</family>107<family>108<fileset>109<file variant="compact">NotoSansTamilUI-Regular.ttf</file>110<file variant="compact">NotoSansTamilUI-Bold.ttf</file>111</fileset>112</family>113<family>114<fileset>115<file variant="elegant">NotoSansMalayalam-Regular.ttf</file>116<file variant="elegant">NotoSansMalayalam-Bold.ttf</file>117</fileset>118</family>119<family>120<fileset>121<file variant="compact">NotoSansMalayalamUI-Regular.ttf</file>122<file variant="compact">NotoSansMalayalamUI-Bold.ttf</file>123</fileset>124</family>125<family>126<fileset>127<file variant="elegant">NotoSansBengali-Regular.ttf</file>128<file variant="elegant">NotoSansBengali-Bold.ttf</file>129</fileset>130</family>131<family>132<fileset>133<file variant="compact">NotoSansBengaliUI-Regular.ttf</file>134<file variant="compact">NotoSansBengaliUI-Bold.ttf</file>135</fileset>136</family>137<family>138<fileset>139<file variant="elegant">NotoSansTelugu-Regular.ttf</file>140<file variant="elegant">NotoSansTelugu-Bold.ttf</file>141</fileset>142</family>143<family>144<fileset>145<file variant="compact">NotoSansTeluguUI-Regular.ttf</file>146<file variant="compact">NotoSansTeluguUI-Bold.ttf</file>147</fileset>148</family>149<family>150<fileset>151<file variant="elegant">NotoSansKannada-Regular.ttf</file>152<file variant="elegant">NotoSansKannada-Bold.ttf</file>153</fileset>154</family>155<family>156<fileset>157<file variant="compact">NotoSansKannadaUI-Regular.ttf</file>158<file variant="compact">NotoSansKannadaUI-Bold.ttf</file>159</fileset>160</family>161<family>162<fileset>163<file>NotoSansSinhala-Regular.ttf</file>164<file>NotoSansSinhala-Bold.ttf</file>165</fileset>166</family>167<family>168<fileset>169<file variant="elegant">NotoSansKhmer-Regular.ttf</file>170<file variant="elegant">NotoSansKhmer-Bold.ttf</file>171</fileset>172</family>173<family>174<fileset>175<file variant="compact">NotoSansKhmerUI-Regular.ttf</file>176<file variant="compact">NotoSansKhmerUI-Bold.ttf</file>177</fileset>178</family>179<family>180<fileset>181<file variant="elegant">NotoSansLao-Regular.ttf</file>182<file variant="elegant">NotoSansLao-Bold.ttf</file>183</fileset>184</family>185<family>186<fileset>187<file variant="compact">NotoSansLaoUI-Regular.ttf</file>188<file variant="compact">NotoSansLaoUI-Bold.ttf</file>189</fileset>190</family>191<family>192<fileset>193<file variant="elegant">NotoSansMyanmar-Regular.ttf</file>194<file variant="elegant">NotoSansMyanmar-Bold.ttf</file>195</fileset>196</family>197<family>198<fileset>199<file variant="compact">NotoSansMyanmarUI-Regular.ttf</file>200<file variant="compact">NotoSansMyanmarUI-Bold.ttf</file>201</fileset>202</family>203<family>204<fileset>205<file>NotoSansMyanmarZawgyi-Regular.ttf</file>206<file>NotoSansMyanmarZawgyi-Bold.ttf</file>207</fileset>208</family>209<family>210<fileset>211<file>NotoSansCanadianAboriginal-Regular.ttf</file>212</fileset>213</family>214<family>215<fileset>216<file>NotoSansCherokee-Regular.ttf</file>217</fileset>218</family>219<family>220<fileset>221<file>NotoSansYi-Regular.ttf</file>222</fileset>223</family>224<family>225<fileset>226<file>Lohit-Odia.ttf</file>227</fileset>228</family>229<!-- Changing the priority of NotoColorEmoji font to be higher than the subset Font for some emoticon -->230<family>231<fileset>232<file>NotoColorEmoji.ttf</file>233</fileset>234</family>235<family>236<fileset>237<file>NotoSansSymbols-Regular-Subsetted.ttf</file>238</fileset>239</family>240<family>241<fileset>242<file>DroidSansFallback.ttf</file>243</fileset>244</family>245<family>246<fileset>247<file>SamsungKorean.ttf</file>248<file>SamsungKorean-Bold.ttf</file>249</fileset>250</family>251<!-- Added SamsungEmoji font for apps that don't support color emoji fonts like Snote -->252<family>253<fileset>254<file>SamsungEmoji.ttf</file>255</fileset>256</family>257<family>258<fileset>259<file>NotoSansThaana-Regular.ttf</file>260<file>NotoSansThaana-Bold.ttf</file>261</fileset>262</family>263<family>264<fileset>265<file>NotoSansCham-Regular.ttf</file>266<file>NotoSansCham-Bold.ttf</file>267</fileset>268</family>269<family>270<fileset>271<file>NotoSansBalinese-Regular.ttf</file>272</fileset>273</family>274<family>275<fileset>276<file>NotoSansBatak-Regular.ttf</file>277</fileset>278</family>279<family>280<fileset>281<file>NotoSansBuginese-Regular.ttf</file>282</fileset>283</family>284<family>285<fileset>286<file>NotoSansBuhid-Regular.ttf</file>287</fileset>288</family>289<family>290<fileset>291<file>NotoSansCoptic-Regular.ttf</file>292</fileset>293</family>294<family>295<fileset>296<file>NotoSansGlagolitic-Regular.ttf</file>297</fileset>298</family>299<family>300<fileset>301<file>NotoSansHanunoo-Regular.ttf</file>302</fileset>303</family>304<family>305<fileset>306<file>NotoSansJavanese-Regular.ttf</file>307</fileset>308</family>309<family>310<fileset>311<file>NotoSansKayahLi-Regular.ttf</file>312</fileset>313</family>314<family>315<fileset>316<file>NotoSansLepcha-Regular.ttf</file>317</fileset>318</family>319<family>320<fileset>321<file>NotoSansLimbu-Regular.ttf</file>322</fileset>323</family>324<family>325<fileset>326<file>NotoSansMeeteiMayek-Regular.ttf</file>327</fileset>328</family>329<family>330<fileset>331<file>NotoSansOlChiki-Regular.ttf</file>332</fileset>333</family>334<family>335<fileset>336<file>NotoSansRejang-Regular.ttf</file>337</fileset>338</family>339<family>340<fileset>341<file>NotoSansSaurashtra-Regular.ttf</file>342</fileset>343</family>344<family>345<fileset>346<file>NotoSansSundanese-Regular.ttf</file>347</fileset>348</family>349<family>350<fileset>351<file>NotoSansSylotiNagri-Regular.ttf</file>352</fileset>353</family>354<family>355<fileset>356<file>NotoSansTagbanwa-Regular.ttf</file>357</fileset>358</family>359<family>360<fileset>361<file>NotoSansTaiTham-Regular.ttf</file>362</fileset>363</family>364<family>365<fileset>366<file>NotoSansTaiViet-Regular.ttf</file>367</fileset>368</family>369<family>370<fileset>371<file>NotoSansTifinagh-Regular.ttf</file>372</fileset>373</family>374<family>375<fileset>376<file>NotoSansHans-Regular.otf</file>377</fileset>378</family>379<family>380<fileset>381<file>NotoSansHant-Regular.otf</file>382</fileset>383</family>384<family>385<fileset>386<file>NotoSansJP-Regular.otf</file>387</fileset>388</family>389<family>390<fileset>391<file>NotoSansKR-Regular.otf</file>392</fileset>393</family>394<family>395<fileset>396<file>NanumGothic.ttf</file>397</fileset>398</family>399<family>400<fileset>401<file>MTLmr3m.ttf</file>402</fileset>403</family>404<!--405Noto Sans Tai Le is intentionally kept last, to make sure it doesn't override406the East Asian punctuation for Chinese.407-->408<family>409<fileset>410<file>NotoSansTaiLe-Regular.ttf</file>411</fileset>412</family>413</familyset>414415416