From a49a84096e81d870d43fbee4710d6626a864a0ea Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 22 Aug 2026 18:40:34 +0200 Subject: [PATCH] Update font-coverage claims for Albert Sans Albert Sans drops Cyrillic and vulgar-fraction glyphs that Ubuntu-Light had, so the demo text and doc comments claiming that support were wrong. Co-Authored-By: Claude Sonnet 5 --- crates/egui/src/context.rs | 4 ++-- crates/egui_demo_lib/src/demo/misc_demo_window.rs | 2 +- crates/egui_demo_lib/tests/snapshots/demos/Misc Demos.png | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/egui/src/context.rs b/crates/egui/src/context.rs index 48c63f436..187bf50b8 100644 --- a/crates/egui/src/context.rs +++ b/crates/egui/src/context.rs @@ -2141,7 +2141,7 @@ impl Context { impl Context { /// Tell `egui` which fonts to use. /// - /// The default `egui` fonts only support latin and cyrillic alphabets, + /// The default `egui` fonts only support the latin alphabet, /// but you can call this to install additional fonts that support e.g. korean characters. /// /// The new fonts will become active at the start of the next pass. @@ -2164,7 +2164,7 @@ impl Context { /// Tell `egui` which fonts to use. /// - /// The default `egui` fonts only support latin and cyrillic alphabets, + /// The default `egui` fonts only support the latin alphabet, /// but you can call this to install additional fonts that support e.g. korean characters. /// /// The new font will become active at the start of the next pass. diff --git a/crates/egui_demo_lib/src/demo/misc_demo_window.rs b/crates/egui_demo_lib/src/demo/misc_demo_window.rs index 8b91fbc64..439b03fcf 100644 --- a/crates/egui_demo_lib/src/demo/misc_demo_window.rs +++ b/crates/egui_demo_lib/src/demo/misc_demo_window.rs @@ -237,7 +237,7 @@ fn label_ui(ui: &mut egui::Ui) { let _ = ui.small_button("this button"); ui.label("."); - ui.label("The default font supports all latin and cyrillic characters (ИÅđ…), common math symbols (∫√∞²⅓…), and many emojis (💓🌟🖩…).") + ui.label("The default font supports all latin characters (Åđ…), common math symbols (∫√∞²…), and many emojis (💓🌟🖩…).") .on_hover_text("There is currently no support for right-to-left languages."); ui.label("See the 🔤 Font Book for more!"); diff --git a/crates/egui_demo_lib/tests/snapshots/demos/Misc Demos.png b/crates/egui_demo_lib/tests/snapshots/demos/Misc Demos.png index d26953296..d7d744836 100644 --- a/crates/egui_demo_lib/tests/snapshots/demos/Misc Demos.png +++ b/crates/egui_demo_lib/tests/snapshots/demos/Misc Demos.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:85d4ca243f57e88eb1325d1d328949c6164454441de92c26c3e025f6d434659a -size 62908 +oid sha256:d5263716433a4cc1e9a34d2548e578a7cc07d16db701d7843bbaf0c391a1d2b4 +size 61743