From 6716d40222a3bd6ca5736ace2bf62977ba1be2f1 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 20 Nov 2020 09:10:39 -0800 Subject: [PATCH] Add note about AA shadows to changelog (and fix a typo in the comment in the shader) closes: #331 --- docs/changelog.markdown | 2 +- wezterm-gui/src/gui/fragment.glsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changelog.markdown b/docs/changelog.markdown index 4df95a3b9..9e4a48ed0 100644 --- a/docs/changelog.markdown +++ b/docs/changelog.markdown @@ -18,7 +18,7 @@ brief notes about them may accumulate here. * Added `wezterm start --class CLASSNAME` option to specify the window class name under X11 and Windows, or the `app_id` under Wayland. See `wezterm start --help` for more information. * Added shell integration for setting OSC 7 (working directory) and OSC 133 (semantic zones) for Zsh and Bash. [See Shell Integration docs](shell-integration.md). * Added `SemanticZone` as a possible parameter for [SelectTextAtMouseCursor](config/lua/keyassignment/SelectTextAtMouseCursor.md), making it possible to conveniently select complete input or output regions. -* Improved font rendering [#320](https://github.com/wez/wezterm/issues/320) +* Improved font rendering [#320](https://github.com/wez/wezterm/issues/320) [#331](https://github.com/wez/wezterm/issues/331) ### 20201101-103216-403d002d diff --git a/wezterm-gui/src/gui/fragment.glsl b/wezterm-gui/src/gui/fragment.glsl index fc8eb75a4..138834280 100644 --- a/wezterm-gui/src/gui/fragment.glsl +++ b/wezterm-gui/src/gui/fragment.glsl @@ -113,7 +113,7 @@ void main() { // if it's not a color emoji it will be grayscale // and we need to tint with the fg_color if (o_fg_color == o_bg_color) { - // However, if we're a monochrome glyph and the forground and + // However, if we're a monochrome glyph and the foreground and // background colors are the same, just render a transparent pixel // instead; this avoids generating shadowy anti-aliasing artifacts // for something that should otherwise be invisible.