Re:Text Rendering Hates You (2019)
by d_tr on Monday February 14, 2022 @06:40AM
(#30330856)
How do pixel boundaries relate to the fact that you cannot avoid color fringing with subpixel AA? You could shift your whole framebuffer (or maybe just a glyph, with possible caveats) by a subpixel or two and have GBR or BRG pixels, it doesn't matter. What matters is that you need to keep the hue constant across triplets of subpixels to avoid fringing, and this is what grayscale does, and what subpixel does not do because it is its whole point. Subpixel basically assumes all your subpixels are the same color.
[ Parent
| on HN ]
Re:Text Rendering Hates You (2019)
by steerablesafe on Monday February 14, 2022 @06:57AM
(#30330948)
This assumes a naive and wrong way to do subpixel-AA. See my other comment: https://news.ycombinator.com/item?id=30330936
Is there any subpixel text rendering implementation that avoids color fringing to such a degree I cannot see it, or not? It's certainly there on both Windows and Linux.
Re:Text Rendering Hates You (2019)
by steerablesafe on Monday February 14, 2022 @08:11AM
(#30331567)
I don't know if such rendering is commonplace, but I know for sure that imageworsener handles this correctly for downscaling images. Check out the option `-offsetrb 1/3`.
I see there is some interesting stuff in the parent page as well, thanks :)
Re:Text Rendering Hates You (2019)
by wodenokoto on Monday February 14, 2022 @10:59AM
(#30333563)
I don't know what you can and can't see, but I could not tell the difference between gray scaling a screenshot and not, on my mac back when they still used colored subpixel AA (unless I zoomed in on the screenshot).