Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0 Beta3
-
None
-
-
a43a0cf5e626c08868951096b8549d804192f79e (qt/qtdeclarative/dev)
Description
The font.weight property in Qt Quick was set to be an enumeration, so it can only represent the font weight values we have decided to enumerate.
This makes it impossible to select certain fonts (Roboto Thin for instance), when they have weights that fall too close to a font in the same family with a weight that is actually enumerated.
In Qt 6 we should fix the type to be an int, like in QFont. Hopefully this can be done in a fully source compatible way.
Attachments
Issue Links
- is required for
-
QTBUG-73063 Qt Quick Changes in Qt 6
- Open
- resulted from
-
QTBUG-37653 QQ 2 suport for Thin and UltraLight Fonts
- Closed
For Gerrit Dashboard: QTBUG-80402 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
151385,8 | Make Font.weight an integer instead of enumeration | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |