1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

fixup mac build

refs: #1646
This commit is contained in:
Wez Furlong 2022-03-12 11:13:58 -07:00
parent 6df26b476e
commit 7370e1b1a4
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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,