emilk/egui

Automatically load system fonts when needed

オープン

#5,233 opened on 2024/10/08

 (2 件のコメント) (10 件のリアクション) (0 人の担当者)Rust (2,101 件のフォーク)batch import
eframeeguihelp wantedtext

Repository metrics

Stars
 (30,076 個のスター)
PR merge metrics
 (平均マージ 17d 17h) (30d で 41 merged PRs)

説明

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:

コントリビューターガイド