mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-02 02:36:14 -06:00
Merge branch 'port/deckcraft/red/app-1' into port/deckcraft/area/app
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user