FS#318Text of dimensions label in SVG PG export
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- 3 Beta 3
- Target version
- 3.0.0
- Operating system
- All
- Reported
- 2011-10-15 by hungerburg
- Closed
- 2011-10-17 by andrew
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();
Comments (1)
Thanks, you're right.