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

Linux/xcb/KDE 5.18: QFontDatabase::systemFont(QFontDatabase::FixedFont) returns proportional font

    XMLWordPrintable

Details

    • 6afdbfdaafcc4d24e08357dfea96b85787efb1f7 (qt/qtbase/5.12)

    Description

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

      Font( "Sans Serif,9,-1,2,50,0,0,0,0,0" )
      

      See screenshot obtained with https://codereview.qt-project.org/#/c/164634/

      See QKdeThemePrivate::refresh() at
      qtbase/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp:305 ; it sets the QFont::TypeWriter hint on the default font unless one is set. Apparently, this is not sufficient.

      Attachments

        Issue Links

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              kleint Friedemann Kleint
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: