QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help > Check for Updates)


FS#831 - Multiple words of non-english language in Richtext are displayed on above other

Attached to Project: QCAD
Opened by Mihail Vasiliev (mickvav) - Monday, 17 June 2013, 13:02 GMT+1
Last edited by Andrew (andrew) - Wednesday, 19 June 2013, 01:08 GMT+1
Task Type Bug Report
Category QCAD (main)
Status Closed
Assigned To Andrew (andrew)
Operating System Ubuntu Linux
Severity Medium
Priority Normal
Reported Version 3.1.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Version - 3.1, binary.

If I “Draw text” with text “aaaa bbbb” - it displays correctly, but when I enter “аааа бббб” (with russian keyboard) - I see that “аааа” and “бббб” are displayed one above other - see screenshot.

The same problem is for imported .dxf file with russian texts in it. Problem makes the solution as a whole actually inusable for (at least, some of) russian users.

This task depends upon

Closed by  Andrew (andrew)
Wednesday, 19 June 2013, 01:08 GMT+1
Reason for closing:  Fixed
Comment by Andrew (andrew) - Monday, 17 June 2013, 13:12 GMT+1

Unfortunately, this is a known problem with QCAD in combination with Qt 4.8.x.
To avoid this issue, QCAD would have to be compiled against Qt 4.7.4 instead.

For future releases, we might revert to Qt 4.7.4 on all platform. Currently, only the Windows package uses Qt 4.7.4.

Comment by Mihail Vasiliev (mickvav) - Monday, 17 June 2013, 13:18 GMT+1

QCAD is the only Qt application with this kind of behavior on Qt 4.8 or not?

Comment by Andrew (andrew) - Monday, 17 June 2013, 13:20 GMT+1

That is entirely possible. Text rendering in the QCAD graphics view works differently from text rendering in the GUI.

Comment by Andrew (andrew) - Wednesday, 19 June 2013, 01:06 GMT+1

Found solution for Qt 4.8 (text painter paths require additional transformation, see https://github.com/qcad/qcad/commit/51ae0e84e3f79533cd82d73aeae92528e70dcb6d