Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1, 5.3.0 Beta1
-
None
-
5c379f3ff0471c51827577d047c93bab88ad44ce
Description
The renderText(x,y,z,...) function doesn't account for the devicePixelRatio of a window. Thus when drawing text on a HiDPI-window the coordinates are wrong.
The attached example should draw the text directly above the drawn line. However on HiDPI the text is a bit off.
Attachments
For Gerrit Dashboard: QTBUG-38778 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
108970,4 | QGLWidget: make renderText() work in high-dpi mode | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |