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

    • Windows
    • 1d6f71779 (dev), e7562a50b (6.9), c3148c308 (6.8)

      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.

        1. comparison_qt67_qt68_win_linux.png
          277 kB
          Hitoshi Ito
        2. main.cpp
          3 kB
          Hitoshi Ito
        3. Freetype_vs_GDI.png
          398 kB
          Hitoshi Ito
        4. Screenshot 2025-02-07 090612.png
          110 kB
          Hitoshi Ito
        5. image-2025-02-19-08-30-35-676.png
          2 kB
          Eskil Abrahamsen Blomfeldt
        6. image-2025-02-19-08-32-49-343.png
          5 kB
          Eskil Abrahamsen Blomfeldt
        7. image-2025-02-19-08-33-33-694.png
          9 kB
          Eskil Abrahamsen Blomfeldt
        8. image-2025-02-19-09-03-32-443.png
          32 kB
          Eskil Abrahamsen Blomfeldt
        9. image-2025-02-20-16-41-34-436.png
          28 kB
          Hitoshi Ito
        For Gerrit Dashboard: QTBUG-131574
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes