mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 14:22:37 +03:00
4e27607615
for fonts located by core text, if they are singular TTF files rather than TTC files, and the font doesn't exactly match the search critiera, we could loop forever re-parsing the same file over and over again. This commit restructures the logic to definitively check the number of contained font entries and constrain the loop to that number. In addition, it adjusts the name matching, as macos can return names like "Cascadia Code Roman" when the underlying font is named "Cascadia Code". refs: https://github.com/wez/wezterm/issues/475 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |