Sub-pixel antialiasing report #2 [GSoC]

Wed, 2008-07-23 19:00   Tags:  :: ::

Another few weeks have passed since my last update, so here is another short report on the status of my project.
I hope everyone is enjoying the results of my work that have already been integrated into the main source trunk. Now I am pleased to announce that also the second part of my project is almost finished.

Sub-pixel antialiasing can now be used for all vector-graphics in Haiku. This includes not only most geometric shapes in the system, but also transformed (rotated, skewed…) and hinted text. For colour filtering, Stephan’s averaging method is used and the user can adjust the ratio between the weight of sub-pixel values and average values. If the last sentence doesn’t seem to make much sense to you, see this mailing list thread for details about the filtering method:

http://www.freelists.org/archives/haiku-development/07-2008/msg00093.htm...

The next thing I’m going to do is add the controls for sub-pixel antialiasing into the Appearance preferences applet (and thus remove them from the Fonts applet again). I have already done this partially, but my mentor Stephan thinks (and I do as well) that it would be better to rewrite the Appearance preflet completely and integrate a few other existing preflets into it. I’m not quite sure how much of this work he expects I will do myself, but I hope that I will have enough time to do most of it.

Finally, have a look at some pictures of my work in action. The left one is grayscale antialiasing and the right one is sub-pixel antialiasing. I’m giving out a free pint of beer to anyone who says they see a difference :-D

steven_h
Submitted by Steven Hoefel on Wed, 2008-07-23 23:47.

Difference: The black line under 'BPictureTest' mixes in properly with the red 'e' properly with sub-pixel antialiasing...

And it all looks great! Keep it up :)

umccullough
Submitted by Urias McCullough on Wed, 2008-07-23 23:52.

Yes, the BPictureTest thing...

Besides that, I can still definitely see the differences in grayscale or subpixel AA - the "w" in "Swatches" for example is extremely obvious. The sub-pixel AA version is much cleaner looking on my LCD here. Also the lowercase "a" in "Antialiasing" looks clearer, and less muddy in the sub-pixel AA version.

Looks *very* good :)

arielb
Submitted by arielb on Thu, 2008-07-24 01:54.

ah I see, thanks to firefox 3 zoom.

BiPolar
Submitted by Oscar Lesta on Mon, 2008-07-28 11:41.
Quote:

I’m giving out a free pint of beer to anyone who says they see a difference :-D

Alright... in picture A the time is 8:38, and in picture B it is 8:39. Besides, in the Appearance preflet, different methods appear selected in each image, and a BTextControl appears disabled in one of them.

Do I get my free beer? It was a pint per difference or a pint per post? :-)

Seriously now... thanks for your work!