← All bug reports

FS#362Regression in SvgExporterPG.prototype.exportEntity

Type
Bug
Status
Closed
Resolution
Fixed
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3 RC1
Operating system
All
Reported
2011-11-04 by hungerburg
Closed
2011-11-04 by andrew

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.

Closure comment

A problem deep inside the ECMAScript wrappers (RTextData passed as reference, not copy and therefore directly modifieable by SvgExporterPG.js).