1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-10 15:04:32 +03:00

docs: for use_cap_height_to_scale_fallback_fonts option

This commit is contained in:
Wez Furlong 2021-05-01 19:36:57 -07:00
parent b5f6a79520
commit 04c083ee8a
2 changed files with 11 additions and 1 deletions

View File

@ -27,7 +27,7 @@ As features stabilize some brief notes about them will accumulate here.
* Fixed: Window could vanish if a tab closed while the rightmost tab was active(!) [#690](https://github.com/wez/wezterm/issues/690)
* Fixed: macOS: mouse cursor could get stuck in the hidden state. [#618](https://github.com/wez/wezterm/issues/618)
* Improved: [font_rules](config/lua/config/font_rules.md) behavior to always append reasonable default `font_rules` to those that you may have specified in your config. `font_rules` now also include defaults for half-bright text styles.
* Improved: fallback fonts are scaled according to relative their *cap-height* metric to improve size consistency. This partially applies to some symbol/emoji fonts, but is dependent upon the font having reliable metrics.
* Improved: added [use_cap_height_to_scale_fallback_fonts](config/lua/config/use_cap_height_to_scale_fallback_fonts.md) option to scale secondary fonts according to relative their *cap-height* metric to improve size consistency. This partially applies to some symbol/emoji fonts, but is dependent upon the font having reliable metrics.
* Improved: font-config queries now run much faster, resulting in snappier startup on unix systems
* Fixed: [Hide](config/lua/keyassignment/Hide.md) had no effect on macOS when the titlebar was disabled [#679](https://github.com/wez/wezterm/issues/679)
* Fixed: key and mouse assignments set via [window:set_config_overrides](config/lua/window/set_config_overrides.md) were not respected. [#656](https://github.com/wez/wezterm/issues/656)

View File

@ -0,0 +1,10 @@
# `use_cap_height_to_scale_fallback_fonts = false`
*Since: nightly builds only*
When set to true, use the *cap-height* font metrics of the base and the current
font to adjust the size of secondary fonts (such as bold or italic faces) to
visually match the size of the base font.
The default is `false`.