mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
parent
e200605b8f
commit
04cf0de1af
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user