Android 5.1のフォントを決定しているのは、/system/etc内に存在する「fallback_fonts.xml」と「fonts.xml」かとか云われてきましたが、Kindle Fire HD 10(2017以降)の日本語設定に関しては影響するのは「fonts.xml」だけでした。
具体的には?
<family lang="ja"> <font weight="400" style="normal">NotoSansJP-Regular.otf</font> <font weight="300" style="normal">NotoSansJP-Light.otf</font> </family> |
と
<family lang="ja"> <font weight="400" style="normal">MTLmr3m.ttf</font> </family> |
だけでした。
ファイルの先頭に近い方の"ja"部分の指定に表示文字があればそれで表示されます。
ですが、不思議なんです。(?_?)!?
/system/fontsには、「NotoSansJP-Regular.otf」というファイルは存在しますが、「NotoSansJP-Light.otf」というファイルは存在しないんです。
当然ですが、/system/sqfs/container.sqfsのイメージファイルにも存在しません。
これって、バグですよ。(*´ω`)
NotoSansJP-Regular.otf
MTLmr3m.ttf↓
以上、参考まで。(#^^#)
P.S.
他にもfonts.xmlには無駄な記述がありました。
フォントが存在しないのに、そのフォントの記述があった部分は以下の通りです。
<family>
<font weight="400" style="normal">NotoSansSinhala-Regular.ttf</font>
<font weight="700" style="normal">NotoSansSinhala-Bold.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansThaana-Regular.ttf</font>
<font weight="700" style="normal">NotoSansThaana-Bold.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCham-Regular.ttf</font>
<font weight="700" style="normal">NotoSansCham-Bold.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBalinese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBatak-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBuginese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBuhid-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCanadianAboriginal-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCherokee-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCoptic-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansGlagolitic-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansHanunoo-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansJavanese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansKayahLi-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansLepcha-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansLimbu-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansMeeteiMayek-Regular.ttf</font> </family>
<family>
<font weight="400" style="normal">NotoSansOlChiki-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansRejang-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSaurashtra-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSundanese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSylotiNagri-Regular.ttf</font> </family>
<family>
<font weight="400" style="normal">NotoSansTagbanwa-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansTaiTham-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansTaiViet-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansTifinagh-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansYi-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">Lohit-Odia.ttf</font>
</family>
<family lang="zh-Hans">
<font weight="300" style="normal">NotoSansHans-Light.otf</font>
</family>
<family lang="zh-Hant">
<font weight="400" style="normal">NotoSansHant-Regular.otf</font>
</family>
<family lang="ja">
<font weight="300" style="normal">NotoSansJP-Light.otf</font>
</family>
<family lang="ko">
<font weight="400" style="normal">NotoSansKR-Regular.otf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSymbols-Regular-Subsetted.ttf</font>
</family>
<family>
<font weight="400" style="normal">Kindle_Symbol.ttf</font>
</family>
<family name="amazon-ember">
<font weight="400" style="italic">Amazon-Ember-Italic.ttf</font>
<font weight="550" style="normal">Amazon-Ember-Medium.ttf</font>
<font weight="550" style="italic">Amazon-Ember-MediumItalic.ttf</font>
</family>
<family name="amazon-ember-condensed">
<font weight="100" style="normal">Amazon-Ember-Condensed-Thin.ttf</font>
<font weight="100" style="italic">Amazon-Ember-Condensed-ThinItalic.ttf</font>
<font weight="300" style="normal">Amazon-Ember-Condensed-Light.ttf</font>
<font weight="300" style="italic">Amazon-Ember-Condensed-LightItalic.ttf</font>
<font weight="400" style="normal">Amazon-Ember-Condensed-Regular.ttf</font>
<font weight="400" style="italic">Amazon-Ember-Condensed-RegularItalic.ttf</font>
<font weight="700" style="normal">Amazon-Ember-Condensed-Bold.ttf</font>
<font weight="700" style="italic">Amazon-Ember-Condensed-BoldItalic.ttf</font>
<font weight="400" style="normal">NotoSansSinhala-Regular.ttf</font>
<font weight="700" style="normal">NotoSansSinhala-Bold.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansThaana-Regular.ttf</font>
<font weight="700" style="normal">NotoSansThaana-Bold.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCham-Regular.ttf</font>
<font weight="700" style="normal">NotoSansCham-Bold.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBalinese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBatak-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBuginese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansBuhid-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCanadianAboriginal-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCherokee-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansCoptic-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansGlagolitic-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansHanunoo-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansJavanese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansKayahLi-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansLepcha-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansLimbu-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansMeeteiMayek-Regular.ttf</font> </family>
<family>
<font weight="400" style="normal">NotoSansOlChiki-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansRejang-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSaurashtra-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSundanese-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSylotiNagri-Regular.ttf</font> </family>
<family>
<font weight="400" style="normal">NotoSansTagbanwa-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansTaiTham-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansTaiViet-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansTifinagh-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansYi-Regular.ttf</font>
</family>
<family>
<font weight="400" style="normal">Lohit-Odia.ttf</font>
</family>
<family lang="zh-Hans">
<font weight="300" style="normal">NotoSansHans-Light.otf</font>
</family>
<family lang="zh-Hant">
<font weight="400" style="normal">NotoSansHant-Regular.otf</font>
</family>
<family lang="ja">
<font weight="300" style="normal">NotoSansJP-Light.otf</font>
</family>
<family lang="ko">
<font weight="400" style="normal">NotoSansKR-Regular.otf</font>
</family>
<family>
<font weight="400" style="normal">NotoSansSymbols-Regular-Subsetted.ttf</font>
</family>
<family>
<font weight="400" style="normal">Kindle_Symbol.ttf</font>
</family>
<family name="amazon-ember">
<font weight="400" style="italic">Amazon-Ember-Italic.ttf</font>
<font weight="550" style="normal">Amazon-Ember-Medium.ttf</font>
<font weight="550" style="italic">Amazon-Ember-MediumItalic.ttf</font>
</family>
<family name="amazon-ember-condensed">
<font weight="100" style="normal">Amazon-Ember-Condensed-Thin.ttf</font>
<font weight="100" style="italic">Amazon-Ember-Condensed-ThinItalic.ttf</font>
<font weight="300" style="normal">Amazon-Ember-Condensed-Light.ttf</font>
<font weight="300" style="italic">Amazon-Ember-Condensed-LightItalic.ttf</font>
<font weight="400" style="normal">Amazon-Ember-Condensed-Regular.ttf</font>
<font weight="400" style="italic">Amazon-Ember-Condensed-RegularItalic.ttf</font>
<font weight="700" style="normal">Amazon-Ember-Condensed-Bold.ttf</font>
<font weight="700" style="italic">Amazon-Ember-Condensed-BoldItalic.ttf</font>
</family>