mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
82fc53d736
Refine the colorization logic to make it more of a blending operation. Previously, we were relying on opengl to carry out blending between layers on our behalf, but that wasn't perfect. This commit is inspired by this post: https://www.puredevsoftware.com/blog/2019/01/22/sub-pixel-gamma-correct-font-rendering/ and factors in the background color when computing the colorized glyph. This appears to reduce the dark fringes/edges that we were seeing before, without noticeably changing the brightness of the result. refs: #491 |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |