[Qt-interest] [Linux] Ugly anti-aliasing (still) in Qt 4.5

Sebastian Krause sebastian at realpath.org
Fri Mar 6 00:02:56 CET 2009


andrew.m.goth at l-3com.com wrote:
> Sebastian Krause wrote:
>> andrew.m.goth at l-3com.com wrote:
>>> Sebastian Krause wrote:
>>>> http://realpath.org/screenshots/qt.png
>>>> 
>>>> In the foreground Qt with rather blurry fonts and in the background
>>>> Gtk, demonstrating how it is supposed to look like.
>>>
>>> I'm guessing you have horizontal BGR ordering.
>> 
>> No, it's vertical RGB ordering
>
> The Qt screenshot shows horizontal ordering with what I consider to be
> poor hinting.

I guess you're right and I was just confused by the GNOME font
configuration dialog:

http://realpath.org/screenshots/font.png

Before I had set "Subpixel Order" to RGB which I assumed to be
vertical because of the image next to it.

"RGB" seems to be the default in all major Linux distributions. I've
now set it to "VRGB" as suggested by Pascal and the Qt fonts look
fine, just like in GTK.

> So we have two problems here. One, Qt is using horizontal ordering
> when it should be using vertical. (Other emails in this thread
> address thi.)  Two, the hinting is off. Maybe the hinting is
> actually good, but everything is shifted, which makes it look bad.

I think one big problem is that Qt fonts look really bad with the
*default* font settings of most Linux distributions. I've now solved
the problem on my computer but with the current behaviour it seems
to remain a main issue for many people.




More information about the Qt-interest-old mailing list