From 52d8e207df945594d75aa2c469028eb4a82d3c56 Mon Sep 17 00:00:00 2001 From: aiongg Date: Mon, 23 Nov 2026 10:54:18 +0000 Subject: [PATCH] feature-root: ask epaint_default_fonts for the monochrome emoji faces craft-ui-contract's tests ask for them as a dev-dependency (their font oracle), which gave cl test ui-contract its own epaint_default_fonts and so its own egui and framework build. The feature only adds two byte constants; egui's emoji fallback is epaint's own feature and stays off. --- Cargo.lock | 1 + crates/feature-root/Cargo.toml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index e65b6a390..11afedc47 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6004,6 +6004,7 @@ dependencies = [ "craft-timeline", "craft-ui-gallery", "craft-update", + "epaint_default_fonts", ] [[package]] diff --git a/crates/feature-root/Cargo.toml b/crates/feature-root/Cargo.toml index 3392e7ef4..bf4974183 100644 --- a/crates/feature-root/Cargo.toml +++ b/crates/feature-root/Cargo.toml @@ -46,6 +46,11 @@ craft-text = { workspace = true, features = ["suite", "find"] } craft-theme-store = { workspace = true, features = ["suite"] } craft-timeline = { workspace = true, features = ["suite", "xml", "otio"] } +# craft-ui-contract's tests ask for the bundled monochrome emoji faces (their font oracle); asked here, every build has +# them, so those tests share egui and the framework with the rest. The feature only adds two byte constants, which +# nothing else reads; egui's emoji fallback is epaint's own feature of the same name, not this one. +epaint_default_fonts = { version = "0.37", features = ["monochrome_emoji_fonts"] } + [target.'cfg(not(target_arch = "wasm32"))'.dependencies] craft-dialogs = { workspace = true, features = ["suite"] } craft-font-manager = { workspace = true, features = ["suite"] }