diff --git a/README.md b/README.md index 05ea527..9e795bd 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ NanoDroid includes * GNU Nano terminal editor * several utilities from `util-linux`, `bsdmainutils` and more * The Legend of Zelda ringtones and sounds +* System UI fonts from several Nintendo games ## Packages @@ -284,6 +285,12 @@ The `nanodroid-util` script contains the following features Full details on the NanoDroid-Util Script [> Details](doc/NanoDroidUtil.md) +#### NanoDroid-Font + +The `nanodroid-font` script changes the Sytem UI font + +Full details on the NanoDroid-Font Script [> Details](doc/NanoDroidFont.md) + #### init scripts The following init scripts are bundled with NanoDroid diff --git a/doc/AlterInstallation.md b/doc/AlterInstallation.md index d75beaf..05fe019 100644 --- a/doc/AlterInstallation.md +++ b/doc/AlterInstallation.md @@ -31,6 +31,7 @@ nanodroid_nlpbackend=1 nanodroid_bash=1 nanodroid_nano=1 nanodroid_utils=1 +nanodroid_fonts=1 ``` the **microG** package supports the following options @@ -130,6 +131,10 @@ whether to install GNU Nano Editor whether to install Shell Utils from util-linux and bsdmainutils +`nanodroid_fonts=[0|1]` + +whether to install [NanoDroid-Font](NanoDroidFont.md) script and Nintendo Fonts + `nanodroid_sigspoofui=[0|1]` whether to patch `Settings.apk` to feature a user interface for enabling and disabling signature spoofing feature globally on **non-prepatched** ROMs. This patch is not applied on Android 7.1 (SDK 25) or later. diff --git a/doc/NanoDroidFont.md b/doc/NanoDroidFont.md new file mode 100644 index 0000000..10bc677 --- /dev/null +++ b/doc/NanoDroidFont.md @@ -0,0 +1,32 @@ +# NanoDroid-Font Script + +## Purpose + +The `nanodroid-font` Script, respectively it's shortcut `nfnt` is used to change the System UI font (reboot required to take effect), this feature exists in Magisk Mode only + +## Invocation + +From within a terminal on your device, for example `adb shell` or `Termux` invoke the script using either + +`nanodroid-font [switch] [font]` + +or + +`nfnt [switch] [parameter]` + +## Overview + +`s`, `--set` [font] + +set System UI font to [font], which is one of + + * FAST FAST RMX Game Font + * NintendoLabo NintendoLabo Logo/Packaging Font + * NintendoSwitch NintendoSwitch OS Font + * Splatoon2 Splatoon2 Game Font + * SuperMarioMaker Super Mario Maker Game Font + * Super Mario Super Mario (World) Game Font + +`r`, `--reset` + +reset to original font