These are great news. I am currently working in a Squeak project that uses a bunch of graphics we have made with Inkscape. I had to convert them to png to be able to use them with Squeak. I have tested my svg and some of them have errors when loaded. If you want, I can send them to you for testing. Also, if you need some help or some kind of testing, I will be glad to lend you a hand. Finally some questions/errors. - SVGMorphs are always inside the sheet where they were drawn. If they could be managed out of the sheet, as sketchmorphs would be much more useful. - The drawing is not redrawn often after opening a window or menu over the svgmorph. When the menu is closed, the space that it filled in the svg is just a white box. - Gradients use to cause "key not found" errors. SVGMorph >>GetFills: fails often with inkscape svg, it doesn't find gradients like 'linearGradient1717' - "A primitive has failed" errors also are often raised when loading some complex drawings. (guard02.svg) - Some drawings are never loaded (feet01.svg)
I am really looking forward for your future releases. I know it is a really hard work because I spent some days studying the possibility or making a SVG importer and gave up because its difficulty was enormous for my smalltalk skill. Best regards.
El vie, 29-07-2005 a las 23:29 +0100, "Gary Chambers" gazzaguru@btinternet.com escribió:
Works with stock 3.7 and 3.8 image. I have tested this (worried because its my first upload!).
As in the SqueakMap description, this is a first attempt, it works with simple svgs, and more complex ones (maybe with artifacts). It is far from complete (no text support for starters, and enders, probably!).
Additonally, Arcs are approximated with Bezier curves and some of the other SVG privitives are not yet directly supported.
If you wish to test then some of the samples provided with Inkscape (http://www.inkscape.org/) work ok (especially tux.svg!).
Hope this helps.