Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130586

[Reg] The font "Terminus" is not rendered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1, 6.9.0 FF
    • 6.8.0
    • GUI: Font handling
    • None
    • Arch Linux, X11
    • 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

        1. no_text.png
          112 kB
          Louis Boux

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tvete Paul Olav Tvete
              m42a Marc Aldorasi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes