alacritty: Regression in font rendering in 0.4.3 vs 0.4.2
System:
OS: macOS 10.14.6
Settings:
use_thin_strokes: false
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
There is already some discussion of this in the comments of #3804, but I’m opening a separate issue specifically for this issue.
With use_thin_strokes: false
set, font rendering appears to be worse in 0.4.3 than it was in 0.4.2:
0.4.2:
0.4.3:
The change is quite subtle, but it definitely looks less smooth in 0.4.3. For what it’s worth, this (0.4.3) looks similar to other font rendering on my system when defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
is not set (i.e. without subpixel anti-aliasing).
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 15 (14 by maintainers)
Commits related to this issue
- Fix font rendering regression on macOS This fixes a regression introduced in 77f2d6e853f1ad54e6dc844a811b78daeb463e76. Fixes #3809. — committed to alacritty/alacritty by thornjad 4 years ago
Nope, should be all good.
So switching the background alpha based on
self.is_colored()
does appear to get everything we want for emoji transparency, plus text renders nicely!I’m interested in trying it out! I’m pretty busy for a few hours but will take a stab at it tonight
Note that it might be easy to work around this by checking if the glyph is colored and setting the opacity of the fill color based on that.
The
self.is_colored()
function should be available and is used later in the method anyways, so extracting that into a variable and checking it might just work out.Are you interested in trying to make this work @thornjad?