danielperaza
danielperaza

Reputation: 412

Misplaced SVG Path in raphael-svg-import

I'm trying to render these files http://registro.soveci.com/dom_izq.svg and http://registro.soveci.com/dom_der.svg with RaphaelJS and raphael-svg-import, but somehow a path appears misplaced on the screen. If you view it with a standard compliant browser, you can see the path being rendered right, so it must be a problem with raphael-svg-import.

Can you provide me some hints??? (I'm new to SVG)

Upvotes: 1

Views: 453

Answers (1)

Chasbeen
Chasbeen

Reputation: 1436

I have been experimenting with SVG for a little bit now and it's a bit of a coincidence because I just finished playing with that plugin today.

The url to a demo I have there also contains zip files in the documentation so you could experiment with these in Inkscape or any SVG editor and see if you cannot configure them to something in your project.

For what ever reason this plugin "likes" some SVG's but not others so maybe you could adapt one of the SVGs in the zip and it will probably work.

The authors know the plugin does not always work but it is gradually improving and even now I think it's possible to write compatible SVG's if you tinker with them.

If you need a facility to convert certain SVG's just to javascript you could use this.

Upvotes: 1

Related Questions