1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00
wezterm/deps
Wez Furlong 401719fb01 fonts: improve cap-height and use_cap_height_to_scale_fallback_fonts
We now compute the cap-height from the rasterized glyph data.

Moved the scaling action of use_cap_height_to_scale_fallback_fonts from
glyphcache into the font resolver: when enabled, and we have data
about the baseline font and the font being resolved, then the resolving
font will be scaled such that the cap-height of both fonts has the same
pixel size.

The effect of this is that `I` glyphs from both fonts should appear to
have the same height.

Added a row of `I`'s in differing styles at the bottom of styles.txt
to make this easier to visualize.

refs: #1189
2021-10-02 18:23:51 -07:00
..
fontconfig Allow matching font weight and font width in wezterm.font 2021-04-08 15:42:53 -07:00
freetype fonts: improve cap-height and use_cap_height_to_scale_fallback_fonts 2021-10-02 18:23:51 -07:00
harfbuzz deps: harfbuzz -> 3.0.0 2021-09-18 09:04:23 -07:00