Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
4.8.0, 5.5.1, 5.6.0
-
None
-
Windows 7
Description
Calling QFont::setStretch has no effect when the DirectWrite font engine is in use.
To reproduce:
1. Build and run the attached test app.
2. Click on the 'stretched' checkbox and observe that the text stretched correctly using the GDI font engine.
3. Click on 'DirectWrite'. Notice that the stretch is no longer present.
From looking at the DirectWrite API documentation, arbitrary font scaling doesn't seem to be supported, so perhaps Qt should just fall back to the old GDI font engine if a stretch is specified.
Attachments
Issue Links
- duplicates
-
QTBUG-54494 When QT_SCALE_FACTOR is set to something then it will cause the stretch factor on a QFont to be ignored
- Closed
For Gerrit Dashboard: QTBUG-22652 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
106277,2 | An attempt to fix font stretching with DirectFrite font engine | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
106424,2 | An attempt to fix font stretching with DirectFrite font engine | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |