add fallback font with replacement character on windows
This commit is contained in:
1 parent
f88fed9dfb
commit
8da5584a52
1 file changed
+8
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user