Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
maemo
-
c69469ff12eeed23584b5c3b15978a7e75d01df1
Description
When QStaticText is used with QPainter::OpenGL2 as paint engine, it does a wrong rendering of the glyphs when large fonts are used: The glyphs are aligned wrong horizontally and get partly clipped.
Attached is a Qt-only application that shows the problem. The application draws the same text on the same position once with QPainter::drawText() and with QPainter::drawStaticText(). If the application is started with -graphicssystem x11, the rendering of the text is absolutely identical. If -graphicssystem opengl2 is used, the glyphs are aligned different for QPainter::drawStaticText() and partly clipped.
The issue seems only to occur for quite large font sizes.