1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 19:27:22 +03:00

add fallback font with replacement character on windows

This commit is contained in:
Wez Furlong 2019-11-02 16:42:03 -07:00
parent f88fed9dfb
commit 8da5584a52

View File

@ -727,6 +727,14 @@ impl TextStyle {
bold: None,
italic: None,
});
// Fallback font that has unicode replacement character
#[cfg(windows)]
font.push(FontAttributes {
family: "Segoe UI".into(),
bold: None,
italic: None,
});
#[cfg(windows)]
font.push(FontAttributes {
family: "Segoe UI Emoji".into(),