emilk/egui

Automatically load system fonts when needed

Aberta

#5.233 aberto em 8 de out. de 2024

 (2 comentários) (10 reações) (0 responsável)Rust (2.104 forks)batch import
eframeeguihelp wantedtext

Métricas do repositório

Stars
 (30.124 estrelas)
Métricas de merge de PR
 (Mesclagem média 17d 17h) (41 fundiu PRs em 30d)

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:

Guia do colaborador