Export to HTML5 Canvas: Last Edge is Missing
Bug #1757053 reported by
Gabriel Chung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using the "Save As" > "HTML 5 Canvas (*.html)", the exported html includes shapes that are with their last edge missing.
I think the problem is because of the parsePath() function in simplepath.py module.
A super quick fix for ONLY straight line for the last edge is adding the following:
svg.py in the extension folder:
Starting line 307:
for pt in path:
comm, data = pt
if comm in path_command:
#Custom Code:
# Close drawing
tmp_comm, start_pt = path[0]
self.pathLineTo
self.ctx.
tags: | added: bug-migration |
To post a comment you must log in.
I forgot to mention that the original file is an .ai file from Adobe Illustrator.