2 comentários (2 comentários)10 reações (10 reações)0 responsável (0 responsável)Rust2.106 forks (2.106 forks)batch import
eframeeguihelp wantedtext
Métricas do repositório
- Stars
- 30.151 estrelas (30.151 estrelas)
- Métricas de merge de PR
- Métricas PR pendentes (Métricas PR pendentes)
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
- Direção de pesquisa
- Investigue o sistema de fontes do egui para entender como as fontes são instaladas e os glifos são renderizados, depois explore APIs específicas da plataforma (por exemplo, fontconfig no Linux, CoreText no macOS, DirectWrite no Windows) para recuperar fontes do sistema como fallback. Considere implementar um mecanismo de fallback que seja acionado quando um glifo não for encontrado.
- Pilha de tecnologia
- rust
- Domain
- desktop
- Tipo Issue
- Funcionalidade
- Prerequisites
- Rust