diff options
author | James A Keene <outofthemadness@gmail.com> | 2017-06-06 23:51:13 -0400 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-06-06 20:59:21 -0700 |
commit | 9825adf695a472be5d3316354f707c7d9d2d2730 (patch) | |
tree | ba30512085be4094e12e788a596f80087d413deb | |
parent | 40de8402a709d87421a5d287087a87b7b18a9d02 (diff) | |
download | alacritty-9825adf695a472be5d3316354f707c7d9d2d2730.tar.gz alacritty-9825adf695a472be5d3316354f707c7d9d2d2730.zip |
changes osx fallback symbol font style
Previously, the fallback symbol font copied the style of the font from
the config. However, the only available style for the fallback symbol
font is Normal slant, Normal weight.
-rw-r--r-- | font/src/darwin/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs index 940a7239..a972301a 100644 --- a/font/src/darwin/mod.rs +++ b/font/src/darwin/mod.rs @@ -164,7 +164,8 @@ impl ::Rasterize for Rasterizer { // fallbacks somehow. { let symbols = { - let d = FontDesc::new("Apple Symbols".to_owned(), desc.style.clone()); + let fallback_style = Style::Description { slant:Slant::Normal, weight:Weight::Normal } ; + let d = FontDesc::new("Apple Symbols".to_owned(), fallback_style); self.get_font(&d, size)? }; font.fallbacks.push(symbols); |