mirror of
https://github.com/alacritty/alacritty.git
synced 2025-07-31 22:03:40 -04: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.
|
// fallbacks somehow.
|
||||||
{
|
{
|
||||||
let symbols = {
|
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)?
|
self.get_font(&d, size)?
|
||||||
};
|
};
|
||||||
font.fallbacks.push(symbols);
|
font.fallbacks.push(symbols);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue