From 2ffcd08eda984007d658f601494c207e624083e2 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 20 Feb 2021 23:41:14 -0800 Subject: [PATCH] config: remove hard coded fallback fonts on macos and windows We don't need these now that we know how to ask the system to resolve fallbacks for specific glyphs. --- config/src/font.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/config/src/font.rs b/config/src/font.rs index 274d79cb0..d91fab8e8 100644 --- a/config/src/font.rs +++ b/config/src/font.rs @@ -290,19 +290,6 @@ impl TextStyle { font.push(default_font); } - #[cfg(target_os = "macos")] - font.push(FontAttributes::new_fallback("Apple Symbols")); - #[cfg(target_os = "macos")] - font.push(FontAttributes::new_fallback("Zapf Dingbats")); - - // Fallback font that has unicode replacement character - #[cfg(windows)] - font.push(FontAttributes::new_fallback("Segoe UI")); - #[cfg(windows)] - font.push(FontAttributes::new_fallback("Segoe UI Emoji")); - #[cfg(windows)] - font.push(FontAttributes::new_fallback("Segoe UI Symbol")); - // We bundle this emoji font as an in-memory fallback font.push(FontAttributes::new_fallback("Noto Color Emoji"));