PDA

View Full Version : Qt4 renderText bug when KDE3 font anti-aliasing turned on



gaston
23rd April 2006, 12:53
I am running KDE 3.5.2, with font anti-aliasing turned on.

I have compiled Qt 4.1.2 and run some of the examples.

In examples/opengl/samplebuffers, the text does not show properly : each letter is replaced by a filled rectangle the same size and shape.

This text is rendered using QGLWidget::renderText

If I turn off font anti-aliasing in the KDE control center, the text shows properly. (But I do want font anti-aliasing in KDE !!)

Changing the font used in renderText changes the shape of the filled rectangles, but does not solve the problem.

This problem is possibly the same that was described here :

http://lists.trolltech.com/qt-interest/2005-08/msg00653.html

Thanks for your help !

e8johan
8th May 2006, 07:07
Does it look something like this? http://www.digitalfanatics.org/e8johan/no-fonts.png