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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.14.1, 5.15.0 Alpha
    • 5.13.2, 5.14.0 Beta2
    • GUI: Font handling
    • None
    • macOS 10.15.1 Catalina
    • macOS
    • 2a4dd69499cb85695ede86ac7244fe6e1c274834, bf8167c5f (dev), 82cc779ee (6.7)

    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

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              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