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

Qt 6.8 displays some font families in DemiBold much thicker than with Qt6.7

    XMLWordPrintable

Details

    • Windows

    Description

      In Windows, Qt 6.8.0 displays some font families, e.g. Noto Sans, much thicker when setWeight(QFont::DemiBold) applied to them.  (See the attached screenshot)

      In some cases it prevents Qt application from displaying the same result as in Figma.

      • This issue is not observed with Qt 6.7.3.
      • This issue is not observed in Linux. (Ubuntu 24.04)
      • This issue is not observed with some font families, such as Times New Roman.

       

      The reproducer is attached.

      Attachments

        1. comparison_qt67_qt68_win_linux.png
          277 kB
          Hitoshi Ito
        2. Freetype_vs_GDI.png
          398 kB
          Hitoshi Ito
        3. main.cpp
          3 kB
          Hitoshi Ito

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              hitoshiito Hitoshi Ito
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes