emilk/egui

Automatically load system fonts when needed

Open

#5,233 创建于 2024年10月8日

在 GitHub 查看
 (2 评论) (9 反应) (0 负责人)Rust (2,037 fork)batch import
eframeeguihelp wantedtext

仓库指标

Star
 (29,051 star)
PR 合并指标
 (平均合并 11天 20小时) (30 天内合并 47 个 PR)

描述

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:

贡献者指南