|
現: 2020-12-26 (土) 15:07:35 yuji |
| + | * ZenFone3(ZE520KL)のフォントを変更する [#b3da9301] |
| + | ZenFone3(ZE520KL)もAndroid 6.0.1でNexus5と同じ日本語フォントのNoto Sans CJK JPが使われている。GoogleとAdobeが共同開発したフォントで,けっこう見やすい。 |
| | | |
| + | でも今まで使っているフォントが気に入っているんで,入れ替えちゃう。 |
| + | |
| + | ** 利用したいフォントを/system/fontsにコピー [#a400afbe] |
| + | > adb push CustomFont.ttf /sdcard/ |
| + | > adb push CustomFont-Bold.ttf /sdcard/ |
| + | > adb shell |
| + | $ su - |
| + | # mount -o remount,rw /system |
| + | # mv /sdcard/CustomFont.ttf /system/fonts/ |
| + | # mv /sdcard/CustomFont-Bold.ttf /system/fonts/ |
| + | # chown root:root /system/fonts/Custom* |
| + | # chmod 644 /system/fonts/Custom* |
| + | |
| + | ** /system/etc/fallback_fonts.xmlを変更 [#o7e75b3f] |
| + | NotoSansJP-Regular.otfやMTLmr3m.ttfを削除して,以下のように変更 |
| + | <family> |
| + | <fileset> |
| + | <file lang="ja">CustomFont.ttf</file> |
| + | <file lang="ja">CustomFont-Bold.ttf</file> |
| + | </fileset> |
| + | </family> |
| + | |
| + | ** /system/etc/fonts.xmlを変更 [#yc5a71f5] |
| + | NotoSansJP-Regular.otfの部分を,以下のように変更 |
| + | <family lang="ja"> |
| + | <font weight="400" style="normal">CustomFont.ttf</font> |
| + | <font weight="700" style="normal">CustomFont-Bold.ttf</font> |
| + | </family> |
| + | |
| + | ** /system/fontsのDroidSans-BoldとDroidSansを変更 [#o3439a26] |
| + | # rm DroidSans-Bold.ttf |
| + | # rm DroidSans.ttf |
| + | # ln -s CustomFont-Bold.ttf DroidSans-Bold.ttf |
| + | # ln -s CustomFont.ttf DroidSans.ttf |
| + | リブートしたら,フォントが変更されている。 |
- 携帯電話/ZenFone3/フォントの変更 のバックアップ差分(No. All)
- 現: 2020-12-26 (土) 15:07:35 yuji
Counter: 530,
today: 2,
yesterday: 1
Copyright©2008 Yuji Ueno All Rights Reserved.