1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00
wezterm/deps/freetype
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
..
freetype2@5bcaf51b61 free2type: update for Windows access violation 2021-09-26 14:48:48 -07:00
libpng@8439534daa Build our own freetype, harfbuzz 2019-03-23 09:28:40 -07:00
src fonts: improve cap-height and use_cap_height_to_scale_fallback_fonts 2021-10-02 18:23:51 -07:00
zlib@cacf7f1d4e add zlib dep for windows builds 2019-03-23 11:30:34 -07:00
bindings.h fonts: improve cap-height and use_cap_height_to_scale_fallback_fonts 2021-10-02 18:23:51 -07:00
build.rs deps: Upgrade to freetype 2.11 2021-09-25 00:43:23 -07:00
Cargo.toml build libz, libpng, freetype, harfbuzz without cmake 2019-11-04 09:40:27 -08:00
regenerate.sh fonts: parse weight and italic into ParsedFont 2021-04-07 20:00:41 -07:00