1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 13:52:55 +03:00

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.
This commit is contained in:
Wez Furlong 2021-02-20 23:41:14 -08:00
parent 7a16e71e07
commit 2ffcd08eda

View File

@ -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"));