emilk/egui

Automatically load system fonts when needed

Open

#5233 aperta il 8 ott 2024

Vedi su GitHub
 (2 commenti) (9 reazioni) (0 assegnatari)Rust (2037 fork)batch import
eframeeguihelp wantedtext

Metriche repository

Star
 (29.051 star)
Metriche merge PR
 (Merge medio 11g 20h) (47 PR mergiate in 30 g)

Descrizione

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:

Guida contributor