1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00
wezterm/wezterm-gui
Wez Furlong 82fc53d736 rasterize: refine blending math
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
2021-02-20 18:00:23 -08:00
..
src rasterize: refine blending math 2021-02-20 18:00:23 -08:00
build.rs toast: windows: setup own AppUserModelID for our notifications 2021-02-17 23:45:52 -08:00
Cargo.toml toast: windows: setup own AppUserModelID for our notifications 2021-02-17 23:45:52 -08:00