Font rendering slightly differs between custom widget & Qt provided ones
Unsolved
General and Desktop
-
If you look close, you can see that the antialiasing is different between my custom painted widgets (on the left) and the Qt-provided QComboBox. The combo box uses RGB subpixel order, while mine seem to be grayscale.
My question is, how can I change it to do what everything else is doing? Is there something I can set in QPainter or QFont?
I'm drawing my text with
QPainter::drawText()
. I've looked intoQStylePainter
andQStyle::drawControl()
and such, but nothing seems to differ. I don't really know what to use that would help my situation, since those are all tailored to existing widgets.