Re:Text Rendering Hates You (2019)
by user-the-name on Monday February 14, 2022 @06:58AM
(#30330969)
No, it is not. It is the physically correct way to do it. 50% more red light is emitted than blue or green. That is a red tint. Your eyes aren't going to see that as anything other than a red-tinted line. That is what you will see. Sub-pixel antialiased text looks like it has colourful fringes. People see this. It is not in their imagination. It actually is there, and it is exactly because of sub-pixel antialiasing.
[ Parent
| on HN ]
Re:Text Rendering Hates You (2019)
by Firadeoclus on Monday February 14, 2022 @09:07AM
(#30332123)
>No, it is not. It is the physically correct way to do it. 50% more red light is emitted than blue or green. That is a red tint.
That is a red tint. And that's why it's not the correct way to do it. A subpixel antialiased white line that is seven subpixels wide, on a black background, should not produce (8-bit RGB triplets): 0-0-0, 255-255-255, 255-255-255, 255-0-0.
Re:Text Rendering Hates You (2019)
by user-the-name on Monday February 14, 2022 @09:45AM
(#30332579)
Then that means you can not render full white.
Re:Text Rendering Hates You (2019)
by BlueTemplar on Monday February 14, 2022 @10:29AM
(#30333161)
Full brightness white is supposed to be reserved for light sources anyway, definitely not text background !
I’m not agreeing or disagreeing with any of you as I don’t have enough knowledge on the topic, but what you say would effectively mean that there is no other possible color besides RGB, which is technically true, but is a nigh useless distinction as color blending is a real phenomenon that happens to human vision. In this way, subpixel hinting, while a hack with quite a few tradeoffs, just hijacks color blending used for producing color normally on your screen for sharper fonts.
Re:Text Rendering Hates You (2019)
by user-the-name on Monday February 14, 2022 @09:44AM
(#30332569)
> but what you say would effectively mean that there is no other possible color besides RGB
It would not at all mean that? I don't know why you would think it means that.
All I am saying is that a if you draw a vertical line 7 subpixels wide, the light it emits will not add up to white. This is a simple physical fact.
To make it easier to imagine, think of a one subpixel wide vertical line. It will be either pure red, pure green or pure blue depending on position. In no way will that ever look white.