dxf: correct import of extruded elements and multiline text
What does the merge request do?
Closes #286 (closed)
This MR fixes the issues raised in the linked issue, in particular, lines with extrude groupcode were displaced, and multiline text with the \P
format specifier was incorrectly split. Also, multiline text can not only specify dx=0 for a second line (see http://tutorials.jenkov.com/svg/tspan-element.html), this was rendered as intended in Inkscape but incorrect everywhere else (Inkscape bug? idk)
The fixes were supplied by user Nomura and unit tested by me.
We cannot reasonably expect DXF import to ever be completely correct, so we'll have to wait for particular issues to prioritize.
Implementation notes
Summary for release notes
Further improvements to DXF import.
Checklist
-
Add unit tests (if applicable) -
Changes to inkex/
are well documented -
Clean merge request history