3 ms·
I've stared at the comparison image between MacOS and Kitty and the only thing I can tell is that Kitty is displaying the colored text in a very different way -
by KennyBlanken 4y ago
I've stared at the comparison image between MacOS and Kitty and the only thing I can tell is that Kitty is displaying the colored text in a very different way - frankly, one that is harder to read on account of being lower contrast.
In plain English, can someone explain what's going on, and why anyone should care?
- n42 4y agothey've gotten font rendering to be similar to macOS, so the fact that you can't really tell a difference is the point. scroll down for more screen shots that show the improvement
- zokier 4y agoWhich comparison image are you looking at? The images on the linked gh pr show only b&w text?
- Sesse__ 4y agoWhen trying to blend two different colors, for instance when you have antialiased white text on black background (or for that matter, fuchsia text on an image), there's a question on how you do the blending mathematically. The “obvious” way of doing a*alpha + b*(1-alpha) for the pixel values is wrong, since the pixel values don't correspond directly to the number of photons (they are compressed using a non-linear curve, because that allows us to use 8-bit displays instead of, say, 16-bit). In particular, this means that white-on-black and black-on-white don't actually render visually the same. This patch corrects that, and adds some contrast controls since few people would prefer the 100% physically correct blending (I'd assume fonts are not designed for that in the first place, so the alpha value coming out of the subpixel calculation isn't really optimal). This brings it closer to macOS' Terminal.app.