chenbo007 / svg-edit

Automatically exported from code.google.com/p/svg-edit
0 stars 0 forks source link

Path created with 0 node causes errors in ImageMagick PNG rendering, but not in the SVG #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. This path was created by SVG-edit somehow:

<path d="M155,362 " id="svg_158" fill="#000000" stroke="url(#svg_148)"
stroke-width="2"/>

2. Inkscape reports it's a path with 0 node

What is the expected output? 
... The SVG output looks correct in Firefox and other browsers.

What do you see instead?

The PNG image that Imagemagick creates from the SVG with the <path...> is
incorrect, everything BELOW this path in the DOM is not rendered at all.

Original issue reported on code.google.com by worms_...@yahoo.com on 19 Aug 2009 at 7:46

GoogleCodeExporter commented 9 years ago
For this bug we need to figure out how path elements are created and changed in
SVG-edit and make sure that only valid paths result with the following rules:

1) No NaN, numbers only
2) at least two points

Original comment by codedr...@gmail.com on 19 Aug 2009 at 8:09

GoogleCodeExporter commented 9 years ago
Fixed in r705.

Original comment by adeve...@gmail.com on 24 Sep 2009 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by codedr...@gmail.com on 24 Sep 2009 at 4:11