- 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 2
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by hungerburg - 07.10.2011
Last edited by andrew - 07.10.2011
Opened by hungerburg - 07.10.2011
Last edited by andrew - 07.10.2011
FS#299 - Text of rotated dimensions in SVG PG export
Sometimes the text of a dimension (that is in a block - just a suspicion of mine) will not get rotated. I do not know why this.text.getAngle() sometimes returns a wrong value, but there is a simple workaround: always rotate the text with the dimension:
--- SvgExporterPG-orig.js 2011-09-15 23:11:40.000000000 +0200
+++ SvgExporterPG.js 2011-10-07 13:07:03.715374911 +0200
@@ -428,9 +427,7 @@
// dimension entity: export text:
this.writeEntityComment(entity);
this.text = entity.getTextData();
-// var angle = this.text.getAngle();
-// var offset = RVector.createPolar(this.text.getHeight()/2, angle + Math.PI/2);
-// this.text.move(offset);
+ this.text.setAngle(entity.getAngle());
this.textColor = entity.getColor();
this.exportText();
this.text = undefined;
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Thanks. I was able to fix this in another place.