egui_system_fonts
System font loader helpers for egui.
- Auto-detects the system locale and picks a reasonable font fallback chain
- Can either replace
eguifonts (set) or append fallback fonts only (extend) - Supports region presets (Korean/Japanese/Chinese/Cyrillic/Latin)
Installation
[]
= "0.1"
Usage
Replace all egui fonts (auto-detect locale)
use ;
Fallback only (keep existing priorities)
use ;
Force a region
use ;
Use custom presets
use ;
Notes
- If no matching system fonts are found, the functions return an empty list.
extend_*only applies updated definitions when at least one font was added.set_*overwrites the defaulteguifonts.
License
MIT OR Apache-2.0