On Windows only, the spacing between characters is often incorrect when using QPainter::drawText with a rotated QPainter. In the test application below, the drawn strings should be identical except for a small, almost unnoticeable rotation. As it is, it is clear that the spacing between the "w"'s and "i"'s is way off.
A screenshot of what this looks like on my machine is attached. Some things I have noticed:
- It is fine on X11 (Ubuntu, at least) and Mac OS X.
- It only affects certain fonts at certain sizes. If, for example, you change the font in the example to pixel size 12 or point size 11, it looks fine.
- This may be a duplicate of QTBUG-20900. It certainly seems like the same behavior. I wasn't positive, however, so opened up a second bug and added reciprocal links.