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:

貢獻者指南