https://github.com/JingMatrix/MagiskFonts
Add custom fonts to Android for system-wise usage
https://github.com/JingMatrix/MagiskFonts
android font magisk magisk-module
Last synced: 4 months ago
JSON representation
Add custom fonts to Android for system-wise usage
- Host: GitHub
- URL: https://github.com/JingMatrix/MagiskFonts
- Owner: JingMatrix
- Created: 2022-12-07T19:12:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-20T11:52:39.000Z (12 months ago)
- Last Synced: 2025-04-30T19:50:33.850Z (8 months ago)
- Topics: android, font, magisk, magisk-module
- Language: Shell
- Homepage:
- Size: 2.06 MB
- Stars: 35
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-android-root - Magisk Fonts - Add custom fonts to Android for system-wise usage. `FOSS` `[M]` (🎨 Customization and Theming / Fonts)
README
# Magisk
This module configures fonts that you add for system-wise usage.
## Usage
1. Clone this repository: `git clone --depth=1 https://github.com/JingMatrix/MagiskFonts`;
2. Create a directory `system/fonts`: `mkdir -p system/fonts`;
3. Put your fonts inside `system/fonts`, currently `ttf` files work well;
4. Pack and install the zip module: `7z a MagiskFonts.zip META-INF customize.sh module.prop system tool`.
## Why do I need it?
Add fonts for applications like browsers and e-books readers, such as `Google Play Books`.
For problems of rendering fonts in browsers on Android 15+, please refer to [this issue](https://github.com/JingMatrix/FontLoader/issues/1).
## Reference
Parser location in [Android Code Search](https://cs.android.com/): [frameworks/base/graphics/java/android/graphics/FontListParser.java](https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/graphics/java/android/graphics/FontListParser.java).