1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 12:23:46 +03:00

fixup build on linux

refs: https://github.com/wez/wezterm/issues/655
This commit is contained in:
Wez Furlong 2021-04-07 18:14:19 -07:00
parent e200605b8f
commit 04cf0de1af

View File

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