Hacker News new | ask | show | jobs
by foolrush 1163 days ago
This is not technically correct as best as I can ascertain.

When we think about AA, it is a representation of sub pixel occlusion. As such, using uniform tristimulus to sample the “in between” value is incorrect.

There is simply no “correct” approach because there are no known models that properly model visual cognition.

What we can say though, is that the intermediate subpixel should not sample RGB tristimulus, but a loose nonuniform representation that approximates the lower order visual signal representation.

When discarding signal, RGB tristimulus is more “correct”. When interpolating the signal, approximate lightness is more “correct”. Some solid analysis is available here: https://hhoppe.com/filtering.pdf

1 comments

You don't have to do subpixel AA. It's arguably worse on modern high DPI displays because of the color fringing that wouldn't be present with grayscale AA.
Subpixel AA is always bad - it just might be a necessary but disgusting hack on screens with too low resolution to render fonts comfortably...

Screenshots and screen recordings of subpixel AA content is foo without magic to get clients to disable such rendition during capture...

How about subpixel hinting? A white 1-pixel vertical line has the same amount of fringing whether it's RGB or GBR or BRG.