mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
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.
This commit is contained in:
parent
40de8402a7
commit
9825adf695
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue