On Fri, Nov 11, 2005 at 07:01:48PM +0100, Hadmut Danisch wrote:
On Fri, Nov 11, 2005 at 09:52:22AM -0300, Ezequias Rodrigues da Rocha wrote:
Why don't you use the inkscape executable to do your work if you want to make it on the commandline ?
Because it does not answer the question whether inkscape or rsvg is correct. If I use inkscape to generate lots of graphics just because it converts the svg to png as expected, I might run into the trap that I generate dozens of wrong svgs. I'd like to know before generating graphics whether they are correct or not.
Hi Hadmut,
Since neither rsvg nor inkscape are 100% done at implementing the SVG spec, there may be some SVG's that render more correct on rsvg, and others that are more correct on inkscape. I don't think a blanket statement can be made that one is always going to be better than the other for all images. As already mentioned, Adobe and Batik tend to match the SVG spec more closely so it can be worth comparing a given image to them.
Btw, I don't know if this would be of use to you, but I've built a test for SVG's (svg_rendertest):
http://sourceforge.net/project/showfiles.php?group_id=93438&package_id=1...
It allows running multiple renderers on a directory of SVG's to produce png's, and then does a visual diff between them. There's also a script that I rigged up to allow using Batik to produce pngs that might be useful (you may need to fix up the paths in it to match your java install though).
Good luck and definitely keep reporting these sorts of differences, as we all want all the projects to be equally good at rendering an svg the same way.
Bryce