Opened 18 years ago
Closed 18 years ago
#5801 closed defect (fixed)
QT Painter draws text 'chunky'
| Reported by: | stuartm | Owned by: | Isaac Richards |
|---|---|---|---|
| Priority: | major | Milestone: | 0.22 |
| Component: | mythtv | Version: | head |
| Severity: | high | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The QT painter is rendering text which is much larger than it should be, as though it's using a bold font when it shouldn't.
It's messing up layouts as the text doesn't fit areas it should. It also breaks the text edit widget which positions and crops based the correct width from QFontMetrics and that doesn't match what is actually drawn.
Both painters draw text using QT, the only difference is that the GL painter does it to an image which is then placed on screen by GL. There isn't any significant difference between the two that would seem to explain the problem.
I'd appreciate help solving this one.

Screenshots showing the issue, first is the QT painter and the other GL.
http://www.phaze.org/mythtv/gallery1.jpg
http://www.phaze.org/mythtv/videogallery_opengl.jpg