Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0 Beta1
-
None
-
-
90e3f0bd7 (dev), 7a42679a9 (6.6), 991d0acf3 (6.5)
Description
With the following code (see QTBUG-81540 for the font), artifacts are visible on the text. Either removing the translation or adding in the 90 degree rotation fixes the issue. It can also be fixed by adding a scale. So it seems to only occur with translation matrices specifically for bitmap fonts.
QFont bm("GohuNew", 28); QPainter p(this); p.translate(100, 100); //p.rotate(90); p.setFont(bm); p.drawText(QPointF(100, 100), "Foobar");
Attachments
Issue Links
- resulted from
-
QTBUG-81540 SFNT (OFT wrapped bitmap) font doesn't rotate
- Closed