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

Matching by styleName on sub-family doesn't work on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.8.0
    • Component/s: GUI: Font handling
    • Labels:
      None

      Description

      On windows we can not match font sub-family using styleName matching. This is because the windows fontdatabase only registers the base font-family, and not the preferred font-family.

      For instance a font like Roboto Light, would have base name "Roboto Light", but preferred family "Roboto" with preferred styleName "Light". The preferred names are however not read and registered on Windows.

      This works on Linux and OS X.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-53458
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              allan.jensen Allan Sandfeld Jensen
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes