mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 06:12:16 +03:00
4d8cc1bb26
If a font doesn't have any latin glyphs then we'd compute 0 as the average width. Later, during rendering, we'd compute an `inf` scaling factor and then subsequently fail to allocate texture space. This commit takes the average width from a "random" selection of glyphs (whatever the first few glyphs in the font may be) to avoid that situation. refs: https://github.com/wez/wezterm/issues/404 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |