[Qt-interest] Cleartype in QGraphicsScene with QGLWidget as viewport
Dennis Kehrig
mail at denniskehrig.de
Wed May 13 14:45:47 CEST 2009
Hello fellow Qts,
Although I am using Qt Jambi, my problem should apply to Qt as well.
I am using Qt Jambi 4.5.0_01 (LGPL) on Windows XP SP 3.
I have a QGraphicsScene in a QGraphicsWidget. Items with text are
displayed with Cleartype used for all font sizes, unless I change the
viewport to a QGLWidget - then "normal" font sizes are not anti-aliased
at all, while smaller and bigger are still anti-aliased with ClearType
(at least they look just as good).
These render hints make no difference in that regard when using OpenGL:
setRenderHint(RenderHint.Antialiasing);
setRenderHint(RenderHint.HighQualityAntialiasing);
setRenderHint(RenderHint.TextAntialiasing);
Is there anything I can do to make Qt respect Windows settings even when
using a QGLWidget for the viewport?
Thank you,
Dennis
More information about the Qt-interest-old
mailing list