fixup build on linux

refs: https://github.com/wez/wezterm/issues/655
This commit is contained in:
Wez Furlong committed 2021-04-07 18:14:19 -07:00
1 parent e200605b8f
commit 04cf0de1af
1 file changed
+2
+2
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);