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

QFontDatabase::systemFont(QFontDatabase::FixedFont) returns proportional font

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.13.2, 5.14.0 Beta2
    • Fix Version/s: 5.14.1, 5.15.0 Alpha
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      macOS 10.15.1 Catalina
    • Platform/s:
      macOS
    • Commits:
      2a4dd69499cb85695ede86ac7244fe6e1c274834

      Description

      See attached example project.

      This ugly for rich(html) text or markdown in labels and QTextEdit.

      I wasn't able to find a workaround so far.

      I get

      CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
      

      as application output when running the example.

        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:
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes