Re:Fast 2D Rendering on GPU
by chrismorgan on Sunday June 14, 2020 @06:38AM
(#23516613)
To give you an idea that pcwalton knows what he’s been doing and has indeed been seeking to match platform rendering exactly, here are a couple of tweets about the macOS font dilation: https://twitter.com/pcwalton/status/918593367914803201, https://twitter.com/pcwalton/status/918991457532354560.
I rather like the demonstration of rendering including subpixel rendering at https://twitter.com/pcwalton/status/971475785616797698, as well.
> To give you an idea that pcwalton knows what he’s been doing and has indeed been seeking to match platform rendering exactly,
I don't intend at all to cast doubt on pcwalton's abilities - the work is brilliant without any hesitation.
But I wonder how that is possible given that "platform rendering" pretty much has changed every other macOS version and every Windows version ("ClearType" from WinXP is definitely not "ClearType" from Win10) ; and let's not talk about the customization abilities of freetype which makes rendering on any two linux boxes also entirely distinct.
from the screenshots I saw so far, pretty much not.
> It can do stem darkening/font dilation like macOS and FreeType in order to make text easier to read at small sizes.
there are tons of different ways to do that. Even freetype has a few different algorithms to do it, some not even merged if I'm not mistaken, which give wildly different results