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

QFontDatabase::hasFamily() returns false for ambiguous fonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.0.0
    • GUI: Font handling
    • None
    • All

    Description

      If you pass in a font family which has multiple entries in the database and therefore includes the foundry in the families() list, hasFamily() will return false because it only checks for the family portion of the string and whether this exact string is in the families() string list.

      The function is internal and seems to be exclusively used in tests.

      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
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes