Priority: P2: Important
Affects Version/s: 5.0.2, 5.1.0
Fix Version/s: None
Component/s: GUI: Text handling
Environment:Ubuntu 12.04 32 Bit, GNOME Classic 3.4.1
Fedora 19, 32 Bit, GNOME 3.8
If a QFont with stretch is used, QPainter::drawText() renders the Text realy strange. This behavior only occurs on Linux (tested with Ubuntu 12.04 and Fedora 19). There are an example of the distortion in the following image.
By way of comparison, the second image shows the same output on a Windows 7x64 System, which shows the Text as might be desired. The same font is used like on Linux.
I have tested this behavior with Qt 5.1 and 5.0.2. I also used other fonts. That makes no difference. I haven't tested on older versions of Qt.
Perhaps there is a deadlock in the drawText method. If the text is rendered Strange there is the following warning on stderr:
[warning] (thread/qmutex.cpp:194) – QMutex: destroying locked mutex
The following code generates the output shown in the images. It is also attached to this issue.