Ticket #12 (defect)
Opened 2 years ago
a bunch of SVG import issues
Status: new
| Reported by: | dan | Assigned to: | dan |
|---|---|---|---|
| Priority: | major | Milestone: | 0.2.13 |
| Component: | SVG Import | Version: | svn trunk |
| Keywords: | svg, path, style | Cc: | |
Martin Ficzel found some issues with the SVG Import, see http://osflash.org/pipermail/swfmill_osflash.org/2006-October/000989.html.
" the potrace svg is describing pathes in the following way
<path d="M3985 4831 c-22 -10 -60 -36 -85 -57 -55 -48 ...">
while inkscape and other do this
<path d="M402 16.5293C394.385 18.2869 390.546 24.6549 383...">
the crash is caused by the c command letter wich is in lowercase ( that means that the commands are relative insted of sbsolute )
see: http://www.w3.org/TR/SVG11/paths.html#PathData
i think that all not a real big deal
- import colors properly even in short and named notation
- dont rely on the inkscape headers
- support the relative drawing commands in pathes
- support the style and fill attributes
Attachments
Change History
10/23/06 22:56:04: Modified by dan
- attachment test_potrace.2.svg added.
10/23/06 22:57:09: Modified by dan
- attachment test_potrace.svg added.
(invalid--disregard)
10/23/06 22:57:35: Modified by dan
- attachment test_autotrace.svg added.
failing SVG produced by autotrace (nothing to be seen)

failing SVG produced by potrace (swfmill segfaults)