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

Matching on sub-family by font name doesn't work on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.7.1
    • 5.6.0
    • GUI: Font handling
    • None

    Description

      If a font has separate base font-name and preferred font name, the fontconfig fontdatabase will register a font face under the preferred font name, and set the base font-name as an alias. When the base name is a sub-family however that means when that sub-family is requested we will incorrectly look at the whole family of face and not just the sub-family.

      For instance looking for family "MyFont Light", will redirect to "MyFont" and return any face from there.

      This works on Windows.

      Attachments

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              allan.jensen Allan Sandfeld Jensen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes