Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
4.7.0
-
None
-
Windows 7
Description
When setting fixed pitch to true on a proportional font, it doesn't seem to yeild the same bounding rectangle for strings of the same length.
QFont dejavu("DejaVu Sans"); dejavu.setKerning(false); dejavu.setFixedPitch(true); QFontMetrics fm(dejaVu); QRect r1 = fm.boundingRect("Test "); QRect r2 = fm.boundingRect("Test0");
Attachments
Issue Links
- replaces
-
QTBUG-13292 QFont setFixedPitch
- Closed