-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.3.1
-
None
-
2
-
565c2e8cf9b7ed59a49256e6576137c92f17d047 (qt/qtbase/dev) dcd63ac1f3b2e8b5c88f5e0d9a0fc40d60625f59 (qt/qtbase/5.15)
-
Da Vinci sprint 8, Da Vinci sprint 9
When creating a QImage, then QPainter(&image), setting painter.setLayoutDirection(Qt::RightToLeft) isn't taken into account (even if painter.layoutDirection then returns Qt::RightToLeft) because when calling painter.drawText, the direction is still left to right.
I'm not sure if it exists any restriction that would explain why it doesn't work in my case, but the documentation doesn't mention anything special (unless I missed something).
| For Gerrit Dashboard: QTBUG-41894 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 300005,3 | Doc: Specify QTextOption behavior in drawText | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 301011,2 | Doc: Specify QTextOption behavior in drawText | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |