This module configures fonts that you add for system-wise usage.
- Clone this repository:
git clone --depth=1 https://github.com/JingMatrix/MagiskFonts
; - Create a directory
system/fonts
:mkdir -p system/fonts
; - Put your fonts inside
system/fonts
, currentlyttf
files work well; - Pack and install the zip module:
7z a MagiskFonts.zip META-INF customize.sh module.prop system tool
.
Add fonts for applications like browsers and e-books readers.
However, in Android 15, Chrome
and Google Play Books
ignore customs fonts, while FireFox
does render them.
Parser location in Android Code Search: frameworks/base/graphics/java/android/graphics/FontListParser.java.