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

QFontDatabase::hasFamily() returns false for ambiguous fonts

XMLWordPrintable

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

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes