[Interest] Text in QGLWidget looks awful

Johan RĂ¥de johan.rade at gmail.com
Thu Jun 14 09:01:42 CEST 2012


Hi,

Text rendered with a QPainter in a QGLWidget looks awful.
I have attached two screen shots, one with text rendered in a QWidget 
and one with text rendered in a QGLWidget.
I have also attached the code (Python + PySide) used to render the text.

How do I fix this?
How do I get nice-looking text in a QGLWidget?

Cheers, Johan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QWidget.png
Type: image/png
Size: 10520 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120614/c7ab5672/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QGLWidget.png
Type: image/png
Size: 7260 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120614/c7ab5672/attachment-0001.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Test.py
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120614/c7ab5672/attachment.ksh>


More information about the Interest mailing list