Skip to content

Don't draw Defs when exporting DXF

What does the merge request do?

When you have an SVG file with defs, such as when importing a PDF with poppler, and then export it to DXF, it draws all the glyphs at the origin. This PR fixes that.

I have not confirmed if the dfx14 extension has this issue.

Implementation notes

This PR simply adds Defs to the list of invisible arguments so it gets skipped.

Summary for release notes

No longer draws certain hidden elements when exporting to DXF

Checklist

  • Add unit tests (if applicable)
  • Changes to inkex/ are well documented
  • Clean merge request history
Edited by Jonathan Neuhauser

Merge request reports