Most font glyph rendering systems produce anti-aliasing with linear coverage, which is correct when in the alpha channel, but not when put directly in an sRGB color channel.
-
-
It produces a surprising result, though: the fonts become awfully light at small sizes when properly gamma corrected! So most systems will actually make small fonts a little bolder (by pushing outlines out along normals) to compensate.
-
I reverse engineered how macOS does it and replicated the behavior for my WIP GPU font renderer for Firefox, but having to distort the fonts doesn’t really sit well with me…
End of conversation
New conversation -
-
-
The only thing about the FreeType article is they use a "gamma" of 1.8 even though everything is sRGB now. As you say, gamma correcting doesn't really work. I discuss this briefly in the last section ofhttps://github.com/nothings/stb/tree/master/tests/oversample …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.