QCAD - 2D CAD System.
Click here for a documentation of the DokuWiki formatting syntax that can be used in reports
Please search for existing tasks (also closed ones) before opening a new task.
Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)
FS#11 - File: SVG Export
Attached to Project:
QCAD
Opened by Martin (martin) - Friday, 15 April 2011, 09:21 GMT+2
Last edited by Andrew (andrew) - Friday, 23 December 2011, 00:27 GMT+2
Opened by Martin (martin) - Friday, 15 April 2011, 09:21 GMT+2
Last edited by Andrew (andrew) - Friday, 23 December 2011, 00:27 GMT+2
|
DetailsOpen
Postponed
Done
|
This task depends upon
How should dimensions be exported ("normal" SVG exporter)?
Or
Everything as path to render exactly like in QCAD.
text line breaks: "SVG has no inherent support for line breaks or text wrapping, so multiline text layout is possible only by using multiple <text> elements or <tspan> elements embedded within <text> elements." reference
Inkscape uses the flowRoot/flowRegion/flowPara mechanism to represent multi-line texts:
<flowRoot> <flowRegion> <rect width="54.667633" height="28.062719" x="38.44957" y="5.6952629"/> </flowRegion> <flowPara>line1</flowPara> <flowPara>line2</flowPara> </flowRoot>flowRoot/flowRegion/flowPara looks good for now.
It seems to be SVG 1.2 (working draft), but let's use this until we have data from customers for whom this does not work.
This is the cumulated patch of todays work done on the SVG (PG) exporters. Licence grant: You may use it in whichever way you please, but not to ridicule me.
Thank you for the great application.