Unsolved QPainter font on QOpenGLPaintDevice issues
-
I am using QPainter to draw text onto an QOpenGLPaintDevice. Everything works great, drawLine, drawImage, etc.
When I use drawText it also works as expected. However if my font size increases from 40pt to 50pt or above the entire text that is drawn is now a filled rectangle corresponding to the correct font size. I've tried a number of different font families.
Any thoughts?
Thanks
-
@joshh
Pixel size vs Point size? -
Thank you,
I've tried setting pixel size and point size. Funny enough it breaks around the same value.
-
@joshh
What version of Qt and what OS are you using?
Can you post a minimum working example so we can test it too?