📜 ⬆️ ⬇️

Haiku seems to be the best anti-aliasing

Thanks to Google Summer of Code , Andrei Spielman, a Slovak student, is currently implementing subpixel smoothing for Haiku OS and has achieved significant success .

The sub-pixel anti-aliasing technology is based on the fact that the RGB pixels on the monitor do not match geometrically, that is, the components of the three basic colors of each point are located slightly in different places. Using this, you can achieve three times higher resolution, as a result of the graphics will look smoother and more pleasing to the eye, but this will be done at the cost of the appearance of color artifacts that can be very noticeable. For example, in the patented Microsoft ClearType technology used in Windows, vertical black lines form a pink halo on the left and blue on the right, and the lines themselves are blurred. Andrei figured out how to avoid it, with the result that the text looks clearer and more readable.


Here's what it looks like:
')
Antialiasing in Haiku

Top down:
1) Traditional antialiasing using shades of gray
2) Subpixel anti-aliasing using the Spielman filter: vertical fonts are not blurred
3) Smooth 32% gray to 68% color subpixels
4) Smooth 40% gray to 60% color subpixels

Source: https://habr.com/ru/post/28917/


All Articles