Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0
-
None
-
Arch Linux, X11
-
-
2f9b02acd (dev), b3aa4b32b (6.8)
Description
QApplication app(argc, argv); auto unstyled = new QLabel("Not Terminus!"); auto styled = new QLabel("Terminus!"); styled->setStyleSheet("QLabel { font: 12pt Terminus }"); QWidget window; auto layout = new QVBoxLayout(&window); layout->addWidget(unstyled); layout->addWidget(styled); window.show(); app.exec();
When I run this program with qt 6.8, the "Not Terminus!" text shows up, but the "Terminus!" text does not. If I run it with 6.7, both texts show up, and the "Terminus!" text uses the Terminus font.
git bisect indicates that this was caused by commit b492582b9c4cf679109ed4875aff912e186263cb "freetype: Fix scaling layouts with bitmap fonts". The Terminus font is available from https://terminus-font.sourceforge.net/ .
Attachments
Issue Links
- relates to
-
QTBUG-111796 Qt Font Scaling for bitmap fonts is broken in Wayland
- Closed
For Gerrit Dashboard: QTBUG-130586 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
601910,1 | Quick fix: Draw non-scaled bitmap glyphs in font engine | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
602168,3 | Revert "freetype: Fix scaling layouts with bitmap fonts" | dev | qt/qtbase | Status: MERGED | +2 | 0 |
602257,2 | Revert "freetype: Fix scaling layouts with bitmap fonts" | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |