|
222 | QCAD (main) | Bug Report | Critical | MacOS X Lion Installation problem | Closed | |
|
Task Description
Installation problem. After uneventful installation on MacOS X Lion 10.7.1 on a MacBook Pro Core I5 the QCAD will not launch by clicking into the app. When trying to launch the application by the command line I received an error message regarding the “plugin” folder, as follows:
al:MacOS everaldo$ ./QCAD application directory: “/Applications/QCAD.app/Contents/MacOS” working path: “/Applications/QCAD.app/Contents/Resources” plugins folder does not exist
Renaming the folder from “/Applications/QCAD.app/Contents/PlugIns” to “Applications/QCAD.app/Contents/plugins” solved the problem.
Regards.
Everaldo de N. Peixoto [email protected]
|
|
223 | QCAD (main) | Bug Report | Low | No return to main window after opening a block window. | Closed | |
|
Task Description
I have a drawing imported from 2.2. I have tried to edit a block and the block window duly opens. However I can’t get back to my main drawing window. In the earlier version I could select a main drawing window. The window menu did not offer any other window to select. The window shown in the list was the name of the main file and clicking on it did nothing. The Tile and Cascade options worked but showed no other windows.
|
|
224 | QCAD (main) | Bug Report | High | Printing not working under Windows | Closed | |
|
Task Description
Printing does nothing. Sometimes crashes on quite (possibly related to printing). PDF export works (as a workaround).
|
|
226 | QCAD (main) | Bug Report | Critical | Editing and saving a file | Closed | |
|
Task Description
Hello, Just started with the program. I opened drawing made under 2.2 pro to modify it. Everything works ok (deleting entities) but as soon as I start removing unused layers, I get an error message when trying to save my work (photo attached). The previouly saved file becomes an empty file...Working on Win7x64, logged as admin. JJ
|
|
229 | QCAD (main) | Bug Report | Low | No grid display toggle | Closed | |
|
Task Description
No way to toggle the grid view on or off?
|
|
234 | QCAD (main) | Bug Report | High | File completely erased/corrupted; then duplicates upon ... | Closed | |
|
Task Description
I have been working with a file in 2.2 which I then opened with beta 3. All seemed to be well for a couple of days. Today the application closed itself. When I restarted and tried to load the file it came up duplicated. One tab showed nothing, the other showed my drawing with blue lines and the tab headers (file name) were identical except that the ‘blue line’ tab had an asterisk after the file name indicating that the file had been changed. Highlighting a ‘blue line’ element showed the properties with colour white.
I’m running 64bit Ubuntu 11.04. ‘Blue line’ file attached. Any quick way to change the blue lines to default white?
|
|
237 | QCAD (main) | Bug Report | Medium | Image remains displayed when it's layer is changed to h ... | Closed | |
|
Task Description
Ubuntu 11.04 64 bit. Image imported into drawing in layer ‘pictures’. Layer ‘pictures’ hidden.
QCAD 3 beta displays the image when zoomed out so that the whole drawing is visible within the working window. It ‘disappears’ when the zoom is taken in such that the drawing exceeds the window display.
When the layer ‘pictures’ is visible the image behaves as expected, i.e. always visible.
|
|
238 | QCAD (main) | Bug Report | Low | Files given on command line don't open | Closed | |
|
Task Description
Files given on command line don’t open if paths are relative (CWD problem)
|
|
239 | QCAD (main) | Bug Report | Medium | part library unit conversion | Closed | |
|
Task Description
|
|
240 | QCAD (main) | Bug Report | Low | Tool 'Show only active layer' not in layer toolbar | Closed | |
|
Task Description
Tool ‘Show only active layer’ not in layer toolbar.
|
|
241 | QCAD (main) | Bug Report | Low | Autosave 10min saves every 1min | Closed | |
|
Task Description
Autosave 10min saves every 1min
See: http://www.ribbonsoft.com/rsforum/viewtopic.php?t=1604
|
|
242 | QCAD (main) | Bug Report | Low | Dimension: no feet displayed in architectural format | Closed | |
|
Task Description
Dimension: no feet displayed in architectural format
(e.g. 79 19/32 instead 72 7 19/32)
See: http://www.ribbonsoft.com/rsforum/viewtopic.php?t=1605
|
|
243 | QCAD (main) | Bug Report | Low | Dimension preferences: precision not saved | Closed | |
|
Task Description
Dimension preferences: precision not saved between preference dialog sessions.
See: http://www.ribbonsoft.com/rsforum/viewtopic.php?t=1605
|
|
245 | QCAD (main) | Bug Report | Low | select contour with no line brings up debugger | Closed | |
|
Task Description
Select → Contour (T, C) and click into empty space, will cause an exception, REntityPointer being a null pointer (0×0) and not false, undefined or something like that.
|
|
246 | QCAD (main) | Bug Report | Low | Foot drawing unit: value display | Closed | |
|
Task Description
Various issues for grid info, property editor, dimensions, etc.
|
|
248 | QCAD (main) | Bug Report | Low | Drawing in print preview | Closed | |
|
Task Description
One can draw in print preview. If one does, QCAD starts acting confused, the model view gets restored with a fullbright white background.
Maybe best is to just disable all drawing and measuring in print preview?
|
|
250 | QCAD (main) | Bug Report | Low | Scrolling in Property Editor changes List Box elements | Closed | |
|
Task Description
Bug or Performance Issue? I’m not sure but it regularly trips me up and is counter intuitive.
In the right hand window generally if you scroll in the pane the list of items moves up and down as expected. E.g. Layer List and Block List.
However in Property Editor there are drop down list boxes and scrolling in the Property Editor pane dangerously scrolls elements within any drop down list that the mouse pointer happens to alight upon. This can lead to inadvertently changing properties.
I propose that a drop down list should not scroll until the list is opened. Scrolling in the Property Editor pane should scroll the Property Editor contents.
|
|
251 | QCAD (main) | Bug Report | Medium | wrong tab names | Closed | |
|
Task Description
After I open the second file, the tab name of the first file is changed to the name of second file. After that I see two tabs with the same names but with two different files.
|
|
252 | QCAD (main) | Bug Report | Medium | Displayed line thickness too thick. | Closed | |
|
Task Description
This manifestation happened after I had loaded an existing drawing, made modifications, then used print preview and adjusted the scale to fit the paper.
The file was closed. Upon reopening lines designated as .25mm were unusually thick such that two lines 2mm apart appeared as one solid line. Placing the cursor over the line showed it was comprised of two lines.
Changing the properties of a line to make it thinner did not help with one exception and that was to set the line thickness to default, when the two lines became visible.
|
|
253 | QCAD (main) | Bug Report | High | coordinate input | Closed | |
|
Task Description
Coordinate input broken.
|
|
254 | QCAD (main) | Bug Report | Low | Snap to ellipse / ellipse intersections | Closed | |
|
Task Description
Snap to ellipse / ellipse intersections
|
|
257 | QCAD (main) | Bug Report | Low | autosnap to reference point | Closed | |
1 |
Task Description
Autosnap does not recognize the center of a circle as a reference point.
JJ
|
|
258 | QCAD (main) | Bug Report | Medium | RDwgExporter.cpp#190 | Closed | |
|
Task Description
Debug: "RDwgServices::printErrorStackTrace: Requires an integer between 1 and 6."
Fatal: ASSERT: "false" in file RDwgExporter.cpp, line 190
./qcad: line 3: 24327 Aborted LD_LIBRARY_PATH=. ./qcad-bin $@
|
|
261 | QCAD (main) | Bug Report | High | Complete loss of all file data when deleting a layer in ... | Closed | |
|
Task Description
Complete loss of data in file doing this:-
Open a file with multi layer content. Delete a layer (in my case this happened without any ‘are you sure’ checks, a bug in itself?) Attempt to save the file. An error message reports disk full or no permission. (disk not full and I logged on as normal) Close QCAD beta3 Open QCAD beta 3 and attempt to load file. Error message reports no permission or unrecognised format. Close QCAD beta 3
Open QCAD 2.2 and load file. File loads ok but has default layer (0) only and no content. Using Ubuntu ‘Properties’ file is reported as having a size of zero bytes.
|
|
263 | QCAD (main) | Bug Report | Low | Hide layer / block should deselect entities on it | Closed | |
|
Task Description
Hide layer / block should deselect entities on it
|
|
266 | QCAD (main) | Bug Report | Low | Grid display | Closed | |
|
Task Description
Application Preferences: Grid display off not working
|
|
269 | QCAD (main) | Bug Report | Low | Info: area: display result in dimension display format | Closed | |
|
Task Description
Info: area: display result in dimension display format
See also: http://www.ribbonsoft.com/rsforum/viewtopic.php?p=4810#4810
|
|
270 | QCAD (main) | Bug Report | Low | Line type scaling | Closed | |
|
Task Description
Line type scaling
See: http://www.ribbonsoft.com/rsforum/viewtopic.php?t=1599
|
|
271 | QCAD (main) | Bug Report | Low | Print Preview problem with an imported 2.2.2.0 drawing | Closed | |
|
Task Description
Frozen window in print preview. Message QT Script Debugger:
Error Log: So 18. Sep 13:31:25 2011 Uncaught exception at C:/Programme/QCAD 3 Beta2/scripts/Snap/RestrictHorizontal/../..\WidgetFactory.js:441: Error: cannot access member `objectName’ of deleted QObject
Console: Welcome to the Qt Script debugger. Debugger commands start with a . (period). Any other input will be evaluated by the script interpreter. Type “.help” for help.
Uncaught exception at C:/Programme/QCAD 3 Beta2/scripts/Snap/RestrictHorizontal/../..\WidgetFactory.js:441: Error: cannot access member `objectName’ of deleted QObject 441 if (isNull(c.objectName) || c.objectName==”“) {
To exit only possible with the Windows Task Manager!
|
|
272 | QCAD (main) | Bug Report | Low | Exception Linux | Closed | |
|
Task Description
Welcome to the Qt Script debugger. Debugger commands start with a . (period). Any other input will be evaluated by the script interpreter. Type “.help” for help.
Uncaught exception at C:/Programme/QCAD 3 Beta2/scripts/File/PrintPreview/../..\library.js:635: Error: cannot access member `objectName’ of deleted QObject 635 if (!isNull(child.objectName) && child.objectName != ““) {
|
|
273 | QCAD (main) | Bug Report | Low | Opening files drawn in previous versions, with layers t ... | Closed | |
|
Task Description
When opening a multi layered file, which has been saved in a previous version with some layers turned off, the following happens:
The file is loaded, all layers are shown as switched on. The view contains only those layers that were switched on when previously saved.
Repeatable
If the file is loaded with all layers turned on, then saved (all within beta3-2) then upon reopening:-
The file is loaded and the layers are shown with status as saved. The view is as expected showing just the ‘on’ layers.
If all the layers are then switched on, the view is unchanged.
|
|
274 | QCAD (main) | Bug Report | Low | previous tab is renamed by the new opened file | Closed | |
|
Task Description
When opening a new tab, previous tab is renamed by the new opened file.
Tested on Ubuntu Natty amd64
|
|
276 | QCAD (main) | Bug Report | Low | Hatch not working if 'island' is a block | Closed | |
|
Task Description
If a simple polygon is drawn and a rectangle created within it; the whole then selected and hatch applied; hatching works as expected. The hatching is within the polygon but not within the rectangle.
If the rectangle is made into a block, then hatching does not work at all when the block is included in the selection. If the block is not selected and the polygon is, then all within the polygon is hatched, including the block.
|
|
278 | QCAD (main) | Bug Report | Low | ECMAScript: all scripts should be read as UTF-8 | Closed | |
|
Task Description
Scripts that are included through the ECMAScript include function are read with a default constructed QTextStream. UTF-8 should be forced.
|
|
279 | QCAD (main) | Bug Report | Medium | library.js:638: Error: cannot access member `children' ... | Closed | |
|
Task Description
""
Uncaught exception at /home/martin/workspace/rsframework/scripts/library.js:638:
Error: cannot access member `children' of deleted QObject
638 if (!isNull(child.children) && child.children().length != 0) {
qsdb> child
Error: cannot access member `toString' of deleted QObject
qsdb> isNull(child)
true
qsdb> .bt
#0 getWidgets(widget = QToolBar) at /home/martin/workspace/rsframework/scripts/library.js:638
#1 <anonymous>(resume = true) at scripts/File/PrintPreview/PrintPreview.js:235
#2 <anonymous>() at /home/martin/workspace/rsframework/scripts/Idle/../EAction.js:237
#3 <anonymous>() at /home/martin/workspace/rsframework/scripts/File/
PrintPreview/../../Idle/DefaultAction/DefaultAction.js:119
#4 <global>() at -1
|
|
280 | QCAD (main) | Bug Report | Low | dxf import: vertical text position | Closed | |
|
Task Description
see 404011_0310_001.dxf
|
|
281 | QCAD (main) | Bug Report | Low | dxf import: show paper space by default | Closed | |
|
Task Description
dxf import: show paper space by default if whole drawing is constructed on paper space or read ‘current block’ from sxf if available.
|
|
282 | QCAD (main) | Bug Report | Low | dxf import: single line text: diameter, plus minus, ... | Closed | |
|
Task Description
dxf import: single line text: diameter, plus minus, degree shown as c, p, %%d
|
|
283 | QCAD (main) | Bug Report | Low | property editor: shift - left arrow to select broken | Closed | |
|
Task Description
property editor: shift - left / right arrow to select in line edit broken (hot key for next / prev tab)
|
|
284 | QCAD (main) | Bug Report | Medium | Line Spacing Factor get lost in saved documents | Closed | |
|
Task Description
When I open a saved document, the “Line Spacing Factor” it return to 1.
Tried several times, same result.
Carlo Couvert
|
|
285 | QCAD (main) | Bug Report | High | Printing not working under Windows | Closed | |
|
Task Description
I cannot print directly from the program: clicking “printprewiu” ,appears icon “print”,clicking it opens the printer installed window, but then it not print anything. greetings
|
|
286 | QCAD (main) | Bug Report | High | mutex lock failed | Closed | |
|
Task Description
Starting qcad 3 beta 2 under xubuntu 10.04, there are several warnings and debug messages. The “mutex lock failed” seems to be worth reported.
Complete console output:
#77-Ubuntu SMP Tue Sep 13 19:40:53 UTC 2011
i686
application directory: "/home/smf/qcad-3.0.0-beta2-trial-linux"
working path: "/home/smf/qcad-3.0.0-beta2-trial-linux"
library path: "/home/smf/qcad-3.0.0-beta2-trial-linux/plugins"
Debug: Init script plugins...
Debug: TIMER: 1424 ms - "loading and initializing plugins"
Warning: RScriptHandlerEcma::doScript: engine busy: aborting evaluation of script:
"scripts/File/NewFile/NewFile.js"
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug: Creating storage...
Debug: Creating spatial index...
Debug: Creating document...
Debug: Creating MDI child...
Debug: Initialize Viewports...
Debug: Init graphics view...
Debug: Init scrollbars...
Debug: Init rulers...
Debug: Init idle and default actions...
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug: RDocumentInterface::deleteTerminatedActions: mutex lock failed
Debug: lock failed: "EACTION FINISH: scripts/Snap/Auto/Auto.js"
Debug: locker: "NEW"
Debug: lock failed: "EACTION RESUME: scripts/Idle/Reset/Reset.js"
Debug: locker: "NEW"
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug: RDocumentInterface::deleteTerminatedActions: mutex lock failed
Debug: lock failed: "EACTION FINISH: scripts/Snap/RestrictOff/RestrictOff.js"
Debug: locker: "NEW"
Debug: lock failed: "EACTION RESUME: scripts/Idle/Reset/Reset.js"
Debug: locker: "NEW"
Debug: Show MDI child...
Debug: lock failed: "RMainWindowQt::subWindowActivated"
Debug: locker: "NEW"
Debug: Init event handler...
Debug: updateScenes...
Debug: updateGuiActions...
Debug: notifyListenersSlot...
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug: RDocumentInterface::deleteTerminatedActions: mutex lock failed
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug: RDocumentInterface::deleteTerminatedActions: mutex lock failed
Debug: setActiveSubwindow...
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug: RDocumentInterface::deleteTerminatedActions: mutex lock failed
Warning: QScriptEngine::newVariant(): changing class of non-QScriptObject not supported
Debug: RDocumentInterface::deleteTerminatedActions: mutex lock failed
Debug: lock failed: "EACTION FINISH: scripts/Idle/Reset/Reset.js"
Debug: locker: "RMdiChildQt::closeEvent"
Warning: QMainWindow::saveState(): 'objectName' not set for QDockWidget 0xc0a1be0 'Trial;
Debug: lock failed: "RMainWindowQt::subWindowActivated"
Debug: locker: "RMainWindowQt::closeEvent"
Debug: autostart.js: main(): end.
|
|
289 | QCAD (main) | Bug Report | Low | Extra (superfluous) reference points show with text fro ... | Closed | |
|
Task Description
Dear Andrew,
When I open a dxf file created by QCad2 in QCad3 I see extra reference points to the right when selecting the text. I assume that these reference points have no function. Refer to attached dxf file.
Regards, Rutger
|
|
290 | QCAD (main) | Bug Report | Low | Arrow on Leaders do not scale | Closed | |
|
Task Description
I consider this a bug or at least poor software design.
When I edit the drawing preferences and change the arrow size (under the Dimensions tab), the arrows of my dimensions change as expected, but those of the leaders to not change.
No drawing preference exists to adjust the leaders separately, and scaling a leader does not scale its arrow. I currently must delete my leaders and redraw them completely to change the arrow size. Very inconvenient.
P.S. I’m using QCad 2.0.5.0-Free-1 (Community Edition) and didn’t see that version in your list. Does it have another name?
|
|
291 | QCAD (main) | Bug Report | Low | Tangent Point - Circle | Closed | |
|
Task Description
See: http://www.ribbonsoft.com/rsforum/viewtopic.php?t=1642
|
|
294 | QCAD (main) | Bug Report | Low | Printing: Exception: page tags | Closed | |
|
Task Description
Uncaught exception at C:/DISEGNO/QCAD Professional/scripts/File/PrintPreview\Print.js:345: Error: QFont::QFont(): could not find a function match; candidates are: QFont() QFont(QFont arg1) QFont(QFont arg1, QPaintDevice pd) QFont(String family, int pointSize, int weight, bool italic)
|
|
295 | QCAD (main) | Bug Report | Low | SEGFAULT in Plugin.prototype.initDoc() | Closed | |
|
Task Description
Plugin.js:
/**
* \internal Called once on startup.
*/// TODO crashes under OpenSUSE 11.4
Backtrace:
Thread [1] 31002 (Suspended : Signal : SIGSEGV:Segmentation fault)
strncmp() at 0xb505089a
__xmlParserInputBufferCreateFilename() at xmlIO.c:2,525 0x92c27b9
xmlParserInputBufferCreateFilename() at xmlIO.c:2,559 0x92c284a
xmlNewInputFromFile() at parserInternals.c:1,549 0x9285697
xmlDefaultExternalEntityLoader() at xmlIO.c:3,881 0x92c45fd
xmlLoadExternalEntity() at xmlIO.c:3,941 0x92c46f6
xsltDocDefaultLoaderFunc() at documents.c:85 0x922b0d9
xsltParseStylesheetFile() at xslt.c:6,726 0x9224da3
RXslt::parseStylesheet() at RXslt.cpp:14 0x9212ce7
REcmaXslt::parseStylesheet() at REcmaXslt.cpp:196 0x8dff0e4
0xb6bd813c
0xb6ac1f68
0xb6a9164c
0xac23d732
0xb6a44262
0xb6a445f7
0xb6bb0f92
QScriptEngine::evaluate() at 0xb6bba46f
RScriptHandlerEcma::eval() at RScriptHandlerEcma.cpp:775 0x87d1bf4
RScriptHandlerEcma::doScript() at RScriptHandlerEcma.cpp:771 0x87d1ad8
RScriptHandler::init() at RScriptHandler.cpp:31 0x8f9bf9e
main() at main.cpp:218 0x87cb5bf
/rsframework/src/xml/xml/libxml2/xmlIO.c:
#ifdef HAVE_ZLIB_H
if ((xmlInputCallbackTable[i].opencallback == xmlGzfileOpen) &&
(strcmp(URI, "-") != 0)) {
if (((z_stream *)context)->avail_in > 4) {
char *cptr, buff4[4];
cptr = (char *) ((z_stream *)context)->next_in;
if (gzread(context, buff4, 4) == 4) {
if (strncmp(buff4, cptr, 4) == 0)
===> ret->compressed = 0;
else
ret->compressed = 1;
gzrewind(context);
}
}
}
#endif
|
|
296 | QCAD (main) | Bug Report | Low | Segmentation Fault: Mac OS X: Print Preview | Closed | |
|
Task Description
Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x9392df87 objc_msgSend + 23 1 QtGui 0x05006ceb -[QCocoaWindow sendEvent:] + 267 2 com.apple.AppKit 0x902b760b -[NSApplication sendEvent:] + 6431 3 QtGui 0x0500a3ed -[QNSApplication sendEvent:] + 93 4 com.apple.AppKit 0x9024b253 -[NSApplication run] + 917 5 QtGui 0×05014481 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1505 6 QtCore 0x04d60941 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65 7 QtCore 0x04d60c8a QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 170 8 QtCore 0x04d620e6 QCoreApplication::exec() + 182 9 ...ript_core_debug.1.0.0.dylib 0x1dec391e qtscript_QCoreApplication_static_call(QScriptContext*, QScriptEngine*) + 1316 (qtscript_QCoreApplication.cpp:314) 10 QtScript 0x04af8318 QScript::FunctionWrapper::proxyCall(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) + 136 11 QtScript 0x04a10871 QTJSC::NativeFuncWrapper::operator()(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) const + 113 12 QtScript 0x049e5ac9 cti_op_call_NotJSFunction + 489 13 ??? 0x202e626f 0 + 539910767 14 QtScript 0x0499d057 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, int, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 1031 15 QtScript 0x0499d351 QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::ScopeChainNode*, QTJSC::JSValue*) + 97 16 QtScript 0x04aca7b6 QScriptEnginePrivate::evaluateHelper(QTJSC::ExecState*, long, QTJSC::EvalExecutable*, bool&) + 582 17 QtScript 0x04acb011 QScriptEngine::evaluate(QString const&, QString const&, int) + 801 18 com.ribbonsoft.qcad 0x0003868b RScriptHandlerEcma::eval(QString const&, QString const&) + 57 19 com.ribbonsoft.qcad 0x00037c6f RScriptHandlerEcma::doScript(QString const&, QStringList const&) + 805 20 com.ribbonsoft.qcad 0x009c3b8d RScriptHandler::init(QString const&, QStringList const&) + 641 21 com.ribbonsoft.qcad 0x0002f4b8 main + 3878 (main.cpp:218) 22 com.ribbonsoft.qcad 0x0002e289 _start + 208 23 com.ribbonsoft.qcad 0x0002e1b8 start + 40
|
|
298 | QCAD (main) | Bug Report | Medium | Elements of a hidden layer are deleted after saving and ... | Closed | |
|
Task Description
All drawing elements belonging to a layer are not existing anymore after:
the layer has been made invisible (unselect the eye symbol of the layer),
the drawing has been saved,
the drawing has been closed
and finally the drawing is reopened.
This behavior has been observed on the following OSes:
Windows XP SP3
Ubuntu 11.04
|
|
299 | QCAD (main) | Bug Report | Low | Text of rotated dimensions in SVG PG export | Closed | |
|
Task Description
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;
|