Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2, 6.8.0
-
None
Description
Set the aspect ratio stretch of text through QFont::setStretch in the code. If the dpi has scaling and the QFont::setStretch parameter is less than 100, the drawing will be abnormal.
When the system DPI is scaled to 100% or Qt scaling is disabled:
When the system DPI scaling is not 100% and Qt scaling is enabled:
If the QFont::setStretch parameter is greater than 100, there is no problem: