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

Missing fonts when using DirectWrite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.9.0
    • GUI: Font handling
    • None
    • Windows 10 Enterprise
      Build: 19045.5854
    • Windows

    Description

      Issue:

      We are currently in the process of updating to Qt6.9 from Qt5.15 and have noticed that the font family "Segoe UI Semibold" (among others) is no longer available.

      It works if "-platform windows:nodirectwrite" is specified.

      Findings:

      <EnumFontFamiliesEx> is used in both <QWindowsFontDataBase> and <QWindowsDirectWriteFontDatabase> to collect all system available fonts.

      However, in <QWindowsDirectWriteFontDataBase> only raster type fonts are registered which causes "Segoe UI Semibold" to be ignored.

      Questions:

      Is this an actual issue or is this somehow intentional ?

       

      Attachments

        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
              roman_schuh Roman Schuh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes