Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.1
-
None
-
-
6b1044cc3 (dev), 97ca6c2a5 (tqtc/lts-6.2), 2cb26f7b6 (tqtc/lts-5.15)
Description
Simple text "base" renders incorrect using label:
#include <QApplication> #include <QLabel> int main(int argc, char *argv[]) { QApplication a(argc, argv); QLabel label("base"); label.show(); return a.exec(); }
result is:
Letter space between "ba" is too small, letter space between "as" is too large.
Tested on Windows 10, both MinGW and MSVC. I checked default UI font using
QApplication::font().family()
And result is "Microsoft YaHei UI".
All UI text on QWidget have that problem, QtCreator also has the same problem. But QPlainTextEdit renders without problem.
Attachments
Issue Links
- is duplicated by
-
QTBUG-120554 Text spacing changes between 5.15.10 and 5.15.16 versions
- Closed
-
QTBUG-108260 Qt6 Font Render Error on Some Font
- Closed