From 04cf0de1af586dd5aa0177f8cb18d18dcafd517f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 7 Apr 2021 18:14:19 -0700 Subject: [PATCH] fixup build on linux refs: https://github.com/wez/wezterm/issues/655 --- wezterm-font/src/locator/font_config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wezterm-font/src/locator/font_config.rs b/wezterm-font/src/locator/font_config.rs index 7a4bee660..ce283e3ca 100644 --- a/wezterm-font/src/locator/font_config.rs +++ b/wezterm-font/src/locator/font_config.rs @@ -46,6 +46,7 @@ impl FontLocator for FontConfigFontLocator { let handle = FontDataHandle::OnDisk { path: file.into(), index: best.get_integer("index")?.try_into()?, + variation: 0, }; // fontconfig will give us a boatload of random fallbacks. @@ -110,6 +111,7 @@ impl FontLocator for FontConfigFontLocator { let handle = FontDataHandle::OnDisk { path: file.into(), index: pat.get_integer("index")?.try_into()?, + variation: 0, }; fonts.push(handle);