Merge branch 'port/deckcraft/red/app-1' into port/deckcraft/area/app

This commit is contained in:
Dylan M. Taylor
2026-11-27 17:46:15 +00:00
+6
View File
@@ -80,8 +80,14 @@ impl SlideApp {
role: None,
})
.collect();
// craft-fonts has no emoji face; egui's monochrome one is the fallback for every family
// (the comment reactions and other emoji text), with Hack for symbols such as ◀.
let mut emoji = craft::ui::fonts::Emoji::default();
emoji.monochrome = craft::ui::fonts::noto_emoji();
let fonts = craft::ui::fonts::UiFonts::new(&craft::ui::fonts::I18nScripts)
.craft_faces(&faces)
.emoji(emoji)
.egui_face("Hack", &[craft::ui::fonts::FontRef::proportional()])
.ui_language(host.language_code());
embed::install(ctx, install, &fonts)?;
host.clone().install(ctx);