emilk/egui

Automatically load system fonts when needed

Open

#5 233 ouverte le 8 oct. 2024

Voir sur GitHub
 (2 commentaires) (9 réactions) (0 assignés)Rust (2 037 forks)batch import
eframeeguihelp wantedtext

Métriques du dépôt

Stars
 (29 051 stars)
Métriques de merge PR
 (Merge moyen 11j 20h) (47 PRs mergées en 30 j)

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:

Guide contributeur