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: image

0.4.3: image

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

Most upvoted comments

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?