mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
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
13 lines
208 B
Plaintext
13 lines
208 B
Plaintext
|
||
Regular
|
||
[1mBold[0m
|
||
[3mItalic[0m
|
||
[1m[3mBold Italic[0m
|
||
[2mHalf Bright[0m
|
||
[2m[3mHalf Bright Italic[0m
|
||
|
||
[5mBlink[0m
|
||
[6mRapid Blink[0m
|
||
|
||
I [1mI[0m [3mI[0m [1m[3mI[0m [2mI[0m [2m[3mI[0m
|