From d22b7a51c5da1a20efee2d3910eb41c1a1c1e2da Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 12 Mar 2022 15:06:07 -0700 Subject: [PATCH] docs: https://github.com/wez/wezterm/issues/1646 --- docs/changelog.md | 1 + docs/config/lua/wezterm/font.md | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index c28a4a00e..dc6976712 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -72,6 +72,7 @@ As features stabilize some brief notes about them will accumulate here. * Incorrect umask for panes spawned via the multiplexer server [#1633](https://github.com/wez/wezterm/issues/1633) * Fall back from `top_left_arrow` to `left_ptr` when loading XCursor themes [#1655](https://github.com/wez/wezterm/issues/1655) * Fixed lingering hover state in titlebar when the mouse pointer left the window. Thanks to [@davidrios](https://github.com/davidrios)! [#1434](https://github.com/wez/wezterm/issues/1434) +* We now respect the difference between `Italic` and `Oblique` font styles when matching fonts. You may explicitly specify `style="Oblique"` rather than using `italic=true` for fonts that offer both italic and oblique variants. [#1646](https://github.com/wez/wezterm/issues/1646) ### 20220101-133340-7edc5b5a diff --git a/docs/config/lua/wezterm/font.md b/docs/config/lua/wezterm/font.md index 9a504eea2..cfb80ebbe 100644 --- a/docs/config/lua/wezterm/font.md +++ b/docs/config/lua/wezterm/font.md @@ -94,4 +94,17 @@ The following options can be specified in the same way: * [freetype_render_target](../config/freetype_render_target.md) * [freetype_load_flags](../config/freetype_load_flags.md) +*Since: nightly builds only* + +You may now specify `style="Normal"`, `style="Italic"` or `style="Oblique"` +instead of simply specifying a boolean `italic` value such as `italic=true`. + +`italic=false` is equivalent to `style="Normal"`, and `italic=true` is +equivalent to `style="Italic"`. + +`"Oblique"` and `"Italic"` fonts are similar in the sense that the glyphs +are presented at an angle. `"Italic"` fonts usually have a distinctive +design difference from the `"Normal"` style in a given font family, +whereas `"Oblique"` usually looks very similar to `"Normal"`, but skewed +at an angle.