red-app-fonts: restore the emoji fallback (egui's monochrome Noto Emoji through UiFonts::emoji) and Hack for symbols

Production installed an explicit monochrome emoji face; craft-fonts has none, so the first emoji drawn (the
comment reactions) panicked in Monospace.
Written by a Claude Sonnet red fixer (its session ended before committing); committed by the lead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Dylan M. TaylorandClaude Opus 5.5 committed 2026-11-27 17:46:15 +00:00
1 parent ff4f77f69e
commit 65b86d6ed4
1 file changed
+6
+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);