• Status Closed
  • Percent Complete
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Post 3.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD
Opened by Anonymous Submitter - 2011-04-15
Last edited by Andrew - 2013-06-20

FS#11 - File: SVG Export


  • ExporterPG (preserve geometry)
    • Texts are exported as text tags, with ‘similar’ font
  • text
    • other formatting
      • exporter for presentation (based on paths): implemented
      • ExporterPG: TODO


  • Global Preferences:
    • Number of generated segments for ellipses [postponed]
      • Problem: exported SVG files can be very large under certain circumstances
  • ExporterPG
    • Export layer information if possible / maybe group by layer [postponed]


  • hatches
    • solid fill
    • pattern
  • text
    • line breaks
      • ExporterPG: Since line spacing is rendered differently in SVG, the used text space might be different, too.
    • position broken for some texts
Closed by  Andrew
Thursday, 20 June 2013, 22:10 GMT
Reason for closing:  Implemented
Additional comments about closing:  

Mostly implemented. Open new feature request for desired features.

Anonymous Submitter commented on Monday, 18 April 2011, 14:54 GMT

How should dimensions be exported ("normal" SVG exporter)?

  • As 1 path element that contains text, lines and arrows (everything as path element, text cannot be edited)


  • As 1 text element and 1 path element (lines and arrows)
Andrew commented on Monday, 18 April 2011, 20:49 GMT

Everything as path to render exactly like in QCAD.

Anonymous Submitter commented on Wednesday, 20 April 2011, 14:47 GMT

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:

    <rect width="54.667633" height="28.062719" x="38.44957" y="5.6952629"/>
Andrew commented on Wednesday, 20 April 2011, 14:53 GMT

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.

Peter commented on Saturday, 27 August 2011, 13:06 GMT

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.


Available keyboard shortcuts


Task Details

Task Editing