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.
-
-
Replying to @ID_AA_Carmack
Windows and macOS actually do have special compositing for gamma correction on fonts. FreeType has a long article on it you may be interested in: https://www.freetype.org/freetype2/docs/text-rendering-general.html …
2 replies 0 retweets 18 likes -
Replying to @pcwalton @ID_AA_Carmack
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.
1 reply 0 retweets 9 likes
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…
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.