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#362 - Regression in SvgExporterPG.prototype.exportEntity

Attached to Project: QCAD
Opened by Peter (hungerburg) - Friday, 04 November 2011, 17:40 GMT+1
Last edited by Andrew (andrew) - Friday, 04 November 2011, 22:11 GMT+1
Task Type Bug Report
Category QCAD (main)
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity Low
Priority Normal
Reported Version 3 RC1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


In RC1 text in PG SVG will be in the wrong location. The position passed from native code to the SvgExporterPG.prototype.exportEntity is wrong:

Instead of the actual place of the text it gets the position of the surrounding block entity, or, for text that is not in a block, “0,0,0”.

Dimension labels are not affected by this. Also HAlign and VAlign are not passed correctly for text in the model-view block.

This task depends upon

Closed by  Andrew (andrew)
Friday, 04 November 2011, 22:11 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  A problem deep inside the ECMAScript wrappers (RTextData passed as reference, not copy and therefore directly modifieable by SvgExporterPG.js).