mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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!");
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:85d4ca243f57e88eb1325d1d328949c6164454441de92c26c3e025f6d434659a
|
||||
size 62908
|
||||
oid sha256:d5263716433a4cc1e9a34d2548e578a7cc07d16db701d7843bbaf0c391a1d2b4
|
||||
size 61743
|
||||
|
||||
Reference in New Issue
Block a user