Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.3.0, 5.3.1
-
None
-
Linux (Arch amd64), Windows 7
-
198009db79a85d3cab7fe3a6432635d36123a2d6
Description
Since Qt-5.3.0 the following code is wrongly rendered into QGraphicsView
QGraphicsTextItem *item; item->setHtml("<span style=\"font-family: myFont; font-size: 12px;\">1=</span> <span style=\"font-size: 12px;\">Ре</span><br> <span style=\"font-family: myFont; font-size: 12px;\">2=</span> <span style=\"font-size: 12px;\">Ля</span><br> <span style=\"font-family: myFont; font-size: 12px;\">6=</span> <span style=\"font-size: 12px;\">Ре</span>
It seems like "myFont" is ignored and some system font is used instead
Those "strange" letters are from Cyrylic and interesting could be - when Latin letters are used instead of them, f.e.
<span style=\"font-size: 12px;\">Re</span>
"myFont" is displayed properly.
Also "myFont" works well with QPushButton(s) and QLabel(s)
Also this code worked for me from Qt-4.7 till Qt-5.2
Attachments
Issue Links
- is required for
-
QTBUG-40712 Issues to be fixed before 5.3.2 release
- Closed
- relates to
-
QTBUG-29930 Unicode script itemization code needs to be re-worked
- Open
For Gerrit Dashboard: QTBUG-39930 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
92375,6 | Fix several regressions in font selection | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |