mirror of
https://github.com/wez/wezterm.git
synced 2024-09-20 11:17:15 +03:00
22c4407ae9
Previously, we would add a list of ~100 or so fallback fonts to the shaper's fallback list. In pathological cases where a wide range of glyphs that have no corresponding font are repeatedly emitted to the output, we'd keep loading and unloading that large list of fallbacks in the hope of finding a match. Since that code was written, we're now able to compute the codepoint coverage for ourselves, so teach the core text locator how to reduce the the list of fallback fonts to just those that contain the missing glyphs. Furthermore, we restrict that list to just the normal/regular weight/stretch/style fonts. refs: https://github.com/wez/wezterm/issues/671 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |