- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System All
- Severity Low
- Priority Very Low
- Reported Version 3 Beta 3
- Due in Version 3.0.0
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Peter - 15.10.2011
Last edited by Andrew - 17.10.2011
Opened by Peter - 15.10.2011
Last edited by Andrew - 17.10.2011
FS#318 - Text of dimensions label in SVG PG export
The labels of dimensions in PG exporter are moved half text-height. Thats a bit much, and actually, no such movement looks more true to the display of same in QCAD itself.
--- SvgExporterPG.js.orig 2011-10-15 18:57:29.994666881 +0200 +++ SvgExporterPG.js 2011-10-15 18:57:39.284666834 +0200 @@ -434,7 +434,7 @@ //debugger; var angle = this.text.getAngle(); //this.text.setAngle(entity.getAngle()); - var offset = RVector.createPolar(this.text.getHeight()/2, angle + Math.PI/2); + var offset = RVector.createPolar(0, angle + Math.PI/2); this.text.move(offset); this.textColor = entity.getColor(); this.exportText();
Thanks, you're right.