file saves with file types that are written in python have missing object or misplaced objects (dxf and hpgl)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Alvin Penner |
Bug Description
Several of the object types are not exported, some are placed in the wrong place when displayed on viewer or reimported. None of the saves written in python will save this file correctly. All of the internal file saves seem to work correctly.
Problem resides in this excerpt of python code in dxf and hpgl output.py Only 2 of the 5 objects in test.svg are output by this code and one of the two is misplaced relative to the other.
for layer in self.document.
i += 1
...
for node in self.document.
d = node.get('d')
if len(simplepath.
Missing objects are:
text outlines
rectangles with square corners
rectangles with round corners
I believe its in 5 sided polygon which is misplaced
It seems only ovals and line segments are exported correctly
I can't find the dom (document object model) on the internet so I am finding it hard to fix this myself.
A true test would have at least one object of each type that could be created to verify that output file is build correctly.
tags: | added: dxf exporting hpgl |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in inkscape: | |
assignee: | nobody → Alvin Penner (apenner) |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
problem is in 0.47 version. did not test in other versions