CoreText renderer is now the default on macOS

I've added dingbats to the fallback list on macos as that is needed
for some symbols we use in tools at work.

With that, and some tweaks for allowing for missing letter glyphs
when loading a symbol font as a fallback, we can make that the
default for macOS

Closes https://github.com/wez/wezterm/issues/5
This commit is contained in:
Wez Furlong committed 2019-02-22 15:51:36 -08:00
1 parent c818225a5d
commit 332b0faeaa
3 files changed
+16 -7

No files matched your search

+6
View File
@@ -208,6 +208,12 @@ impl TextStyle {
bold: None,
italic: None,
});
#[cfg(target_os = "macos")]
font.push(FontAttributes {
family: "Zapf Dingbats".into(),
bold: None,
italic: None,
});
#[cfg(windows)]
font.push(FontAttributes {
family: "Segoe UI".into(),