2 comments (2 comments)10 reactions (10 reactions)0 assignees (0 assignees)Rust2,106 forks (2,106 forks)batch import
eframeeguihelp wantedtext
Repository metrics
- Stars
- 30,151 stars (30,151 stars)
- PR merge metrics
- PR metrics pending (PR metrics pending)
Description
Currently egui only supports glyphs available in fonts that has been explicitly installed with ctx.set_fonts.
It would be great if there was a way for egui to tell it's integration "The user wanted to show a Chinese glyph, but no current font has support for that" and then have eframe respond by automatically finding such a font on the system, e.g. by downloading it.
Related:
Contributor guide
- Research direction
- Investigate egui's font system to understand how fonts are installed and glyphs are rendered, then explore platform specific APIs (e.g., fontconfig on Linux, CoreText on macOS, DirectWrite on Windows) to retrieve system fonts for fallback. Consider implementing a fallback mechanism that triggers when a glyph is not found.
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Feature
- Prerequisites
- Rust