Custom Font
About 611 wordsAbout 2 min
2025-01-11
Font and icon functions allow you to completely customize the text display effect of FolkPatch, support importing custom font files, and create a unique visual style.
Function Description
FolkPatch supports importing font files in TTF format, applying custom fonts to the entire application interface, including all text elements such as titles, body text, buttons, etc.
Core Functions
- Custom Font Import: Support selecting font files from file manager
- Font Format Support: Support .ttf format
- Global Application: Fonts are automatically applied to the entire application
- Automatic Management: Automatically verify font file validity
- One-click Clear: Quickly restore default font
Font File Import
Description: Select a font file from device storage and import it into the application.
Steps:
- Click "Import Font" button
- Select font file (.ttf) in file manager
- Wait for file import to complete
- Turn on "Enable Custom Font"
- The application will automatically apply the new font, no restart required
Technical Implementation: The application automatically handles storage and verification of font files.
Font Selection Suggestions
- Chinese Fonts: Recommended Source Han Sans, Alibaba PuHuiTi, Zcool Series
- English Fonts: Roboto, Open Sans, Montserrat
- Monospaced Fonts: JetBrains Mono, Fira Code (Suitable for developers)
- Handwriting Fonts: KaiTi, XingKai (Suitable for personalization)
Clear Custom Font
Description: Delete the currently used custom font file and restore the application default font.
Operation Effect:
- Delete font file
- Automatically turn off "Enable Custom Font"
- Restore default font after restarting the application
FAQ
Q: Font not taking effect after import?
A: Please check:
- Whether "Enable Custom Font" is turned on
- Whether font file format is .ttf
- Whether font file is damaged
- Whether application has been restarted
Q: Some characters display abnormally?
A: Possible reasons:
- Font file does not contain the character
- Character set mismatch (e.g., using English font to display Chinese)
- Font file damaged
- Solution: Replace with a font containing complete character set
Q: Is there a limit on font file size?
A: Theoretically there is no hard limit, but suggestions:
- Recommended to use smaller font files
- Excessively large font files may affect loading speed
- Consider using subset fonts
Q: Does font affect performance?
A: Minimal impact:
- Font loading is completed at application startup
- Font rendering is handled by system font engine
- Font file size affects initial loading time
- Recommended to use simplified font files
Q: How to restore default font?
A: Two methods:
- Method 1: Turn off "Enable Custom Font"
- Method 2: Click "Clear Custom Font" to delete font file
Q: Will fonts in theme packs be applied?
A: Yes:
- Fonts are automatically applied when importing theme packs
- Old fonts will be replaced by new fonts
- Theme packs contain complete font files
Q: Where are font files stored?
A: Font files are stored in application internal storage:
- Ordinary users cannot access directly
- Automatically deleted when uninstalling application
Q: Can I share my font configuration?
A: Yes:
- Use theme pack export function
- Font files will be included in the theme pack
- Ensure font allows sharing and distribution
Related Settings
Font and icon are closely related to the following functions:
- Theme Mode: Theme color and font coordination
- Color & Style: Overall visual style
- Background Settings: Background and font coordination
Theme Pack Integration
Font configuration is an important part of the theme pack, containing font files and configuration information when exporting.
Theme Pack Suggestion
If the font file is large, it is recommended to:
- Use subset font
- Or explain font source in theme pack description
- Users can download fonts separately
Copyright
Copyright Ownership:FolkPatch Team
License under:Attribution 4.0 International (CC-BY-4.0)
