Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.5.2, 4.7.0, 4.8.4, 5.0.1, 5.12.1
-
Windows
-
e20f4d966e1b7e26feadbc1a5410f71a9271ed99 (qt/qtbase/5.12)
Description
The setStretch() method has strange affect on biger font sizes (~ above 47 pts.). In that cases the font itself is not stretched but text area is fit to stretched font. It means that QFont::UltraCondensed causes text lettters overlapsed and QFont::UltraExpanded shows big spaces between text letters (see attachment - example on Arial font).
The problem exists for all fonts.
I modified Font Sampler project to present the issue. The program, screenshots and source code attached.