QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
    Andrew
  • 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 Bugtracker
Opened by Anonymous Submitter - 15.04.2011
Last edited by Andrew - 20.06.2013

FS#11 - File: SVG Export

Open

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

Postponed

  • 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]

Done

  • 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
20.06.2013 22:10
Reason for closing:  Implemented
Additional comments about closing:  

Mostly implemented. Open new feature request for desired features.

Anonymous Submitter commented on 18.04.2011 14:54

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)

Or

  • As 1 text element and 1 path element (lines and arrows)
Admin
Andrew commented on 18.04.2011 20:49

Everything as path to render exactly like in QCAD.

Anonymous Submitter commented on 20.04.2011 14:47

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>
Admin
Andrew commented on 20.04.2011 14:53

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 27.08.2011 13:06

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing