Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.1
-
None
-
(K)Ubuntu 16.04 LTS, xcb, KDE 5.18
-
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
- is duplicated by
-
QTBUG-54847 FontDatabase returns serif when asking for fixed font
- Closed
- relates to
-
QTBUG-103484 rich text gets converted to monospace in CI because QFontDatabase::GeneralFont is "Sans Serif" and is monospace
- Reported
-
QTBUG-987 QFontInfo::fixedPitch() can report false value
- Closed
-
QTBUG-75587 wasm doesn't have a mono font available
- Closed
-
QTBUG-75648 WinRT: QFontDatabase::systemFont(QFontDatabase::FixedFont) returns proportional font
- Closed
-
QTBUG-75649 Boot2Qt (QEMU): QFontDatabase::systemFont(QFontDatabase::FixedFont) returns proportional font
- Closed
-
QTBUG-79900 QFontDatabase::systemFont(QFontDatabase::FixedFont) returns proportional font
- Closed
- resulted in
-
QTBUG-99676 markdown (and html) import/export should not rely on use of a fixed-pitched font to remember a `monospace` span
- Closed