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-intere.../msg00653.html

Thanks for your help !