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