1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -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:
James A Keene 2017-06-06 23:51:13 -04:00 committed by Joe Wilm
parent 40de8402a7
commit 9825adf695

View file

@ -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);