mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
parent
6df26b476e
commit
7370e1b1a4
@ -190,7 +190,7 @@ fn build_fallback_list_impl() -> anyhow::Result<Vec<ParsedFont>> {
|
|||||||
family: "Apple Symbols".to_string(),
|
family: "Apple Symbols".to_string(),
|
||||||
weight: FontWeight::REGULAR,
|
weight: FontWeight::REGULAR,
|
||||||
stretch: FontStretch::Normal,
|
stretch: FontStretch::Normal,
|
||||||
slant: FontStyle::Normal,
|
style: FontStyle::Normal,
|
||||||
is_fallback: true,
|
is_fallback: true,
|
||||||
is_synthetic: true,
|
is_synthetic: true,
|
||||||
harfbuzz_features: None,
|
harfbuzz_features: None,
|
||||||
@ -208,7 +208,7 @@ fn build_fallback_list_impl() -> anyhow::Result<Vec<ParsedFont>> {
|
|||||||
fonts.retain(|f| {
|
fonts.retain(|f| {
|
||||||
f.weight() == FontWeight::REGULAR
|
f.weight() == FontWeight::REGULAR
|
||||||
&& f.stretch() == FontStretch::Normal
|
&& f.stretch() == FontStretch::Normal
|
||||||
&& f.slant() == FontStyle::Normal
|
&& f.style() == FontStyle::Normal
|
||||||
});
|
});
|
||||||
|
|
||||||
let mut seen = HashSet::new();
|
let mut seen = HashSet::new();
|
||||||
|
@ -666,7 +666,7 @@ mod test {
|
|||||||
weight: Default::default(),
|
weight: Default::default(),
|
||||||
is_fallback: false,
|
is_fallback: false,
|
||||||
is_synthetic: false,
|
is_synthetic: false,
|
||||||
slant: Default::default(),
|
style: Default::default(),
|
||||||
freetype_load_flags: None,
|
freetype_load_flags: None,
|
||||||
freetype_load_target: None,
|
freetype_load_target: None,
|
||||||
freetype_render_target: None,
|
freetype_render_target: None,
|
||||||
|
Loading…
Reference in New Issue
Block a user