On Sat, Sep 3, 2011 at 2:00 AM, John Cliff <john.cliff@...400...> wrote:
On Sat, Sep 3, 2011 at 6:12 AM, Nikita Kitaev <nikitakit@...400...> wrote:
Hi everyone.
I've been running my svg2sif converter through a semi-automated tester using a huge archive from openclipart, and now I have testing results. I fixed all of the major bugs I could find and it works correctly on a large number of SVG files. There are still cases where it fails, but almost all of them are caused by SVG files that don't originate from Inkscape. What stability should I aim for before it becomes a possibility to have it shipped with Inkscape?
The kind of unsupported features I'm talking about include: viewBox attribute in <svg> tag gradients defined in the body of the document rather than in the defs section node having no id unicode<>ascii conversion error
(If anyone knows I place where I can get a large number of Inkscape-only SVG files, that would help.)
~Nikita
Openclipart.org has a lot of SVGs, an awful lot of which are inkscape generated. might be worth a check. You can probably identify a user or two who uses inkscape and just download all thier files.
Cheers
John
I updated my testing script to skip all non-Inkscape SVGs, and the results are a lot better now. Out of 904 files there's only two crasher bugs, both in simplestyle.py ("fill:currentColor" and Chinese symbols in the style). I have maybe 15-30 files marked as mis-renders (mostly tiny things like gradients not looking quite the same). I'm not sure about how much better I can get.
~Nikita