emilk/egui

Automatically load system fonts when needed

Aperta

#5233 aperta il 8 ott 2024

 (2 commenti) (10 reazioni) (0 assegnatari)Rust (2101 fork)batch import
eframeeguihelp wantedtext

Metriche repository

Star
 (30.070 stelle)
Metriche merge PR
 (Merge medio 17g 17h) (41 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