[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#448555: fixed in qt4-x11 4.5.0-2



M G Berberich wrote:
I don't know what the patch should do and where the problem lies, but
on two Debian machines I tested the qt 4.5.0-2 packages effectivly
disable subpixel-rendering. This looks much better than the uglified
glyphs from 4.5.0-1 but still is not the desired result.

I'm assume there is (still) a bug in the patch, probably somewhere
around the call to convertRGBToARGB and the legacyFilter boolean.



Could you try manually reverting the patch to see if the problem still exists? Alternatively you could comment out this line:

useLegacyLcdFilter = (lcdFilterType == FT_LCD_FILTER_LEGACY);

which should make the patch void as it should always use the old convoluteBitmap() approach.

Assumption: perhaps we here have three different libraries trying to
work around FT_CONFIG_OPTION_SUBPIXEL_RENDERING = false, namely
GTK/pango, kde3 and kde4, and in the past it worked because they all
did something similar.

Yes, it's a pity that each toolkit tries to do subpixel rendering in its own way at the moment. Though even on Ubuntu (which enables FT_CONFIG_OPTION_SUBPIXEL_RENDERING by default) there are differences between Qt and GTK's font rendering. I assume it's because of different interpretations of the Fontconfig settings (GTK seems to switch legacy LCD filtering off when full hinting is enabled).

Cheers,
Samuel



Reply to: