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

Windows: "Arial" with black weight may yield different results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14
    • Fix Version/s: None
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      If "Arial Black" is registered by that name ahead of requesting "Arial" with black weight, then we will resolve to that, since it is registered by its typographic name as it is populated.

      But Windows does not seem to enumerate Arial Black when enumerating all fonts called "Arial", so when requesting Arial by itself, then it will just give the regular font instead.

      So the result of requesting "Arial" with weight = Black will be different based on what has happened previously in the applications, and fonts may suddenly change during the application life time.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes