Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.2, 5.14.0 Beta2
-
None
-
macOS 10.15.1 Catalina
-
-
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
- relates to
-
QTBUG-54623 Linux/xcb/KDE 5.18: QFontDatabase::systemFont(QFontDatabase::FixedFont) returns proportional font
- Closed
-
QTBUG-75648 WinRT: QFontDatabase::systemFont(QFontDatabase::FixedFont) returns proportional font
- Closed
For Gerrit Dashboard: QTBUG-79900 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
282837,5 | CoreText: Fix getting system fonts on recent macOS/iOS versions | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
537424,8 | tst_QTextMarkdownWriter: test both ways of setting font characteristics | dev | qt/qtbase | Status: MERGED | +2 | 0 |
540203,2 | tst_QTextMarkdownWriter: test both ways of setting font characteristics | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |