Parts editor: Mangles svg objects
So I spent a good part of today drawing up the breadboard image for Solarbotics' Ardweeny. And when I finally finished and saved the file as a plain svg, I loaded it into the parts editor only to find it did not recognize the font (it was Droid Sans), and worse, it had moved most of the shapes around so that they were nowhere near correct. Now I was more skeptical of Inkscape, thinking perhaps it had mangled the file. So I loaded the svg into Chrome, and it was displayed perfectly. As far as I can tell, its not the file. Nevertheless, if you'd like to check it out, I've uploaded it to http://www.mediafire.com/file/oi2umxumfom/ardweeny.svg. Thanks a bunch! And I hope this part helps, so you guys don't have to waste time making it! : )
0x24a537r9
Cameron Behar
It's not the file. Seems to be a bug in Qt's SVG renderer (Fritzing is built on the Qt framework). I'll try to find a workaround and will post a bug report to Qt.
- j
I kinda thought it might have been the framework and not you guys. No worries! Just trying to take a load off y'all's plate!
0x24a537r9
Cameron Behar
Oh, and I made a 9V battery today with the same kind of problems. So I uploaded it to [http://www.mediafire.com/file/iymdkjdmjyk/9V Battery.fzpz]. If you could forward it on to the Qt guys it might help. :\ In the meantime, how did you all avoid this problem in making the core parts?
0x24a537r9
Cameron Behar
I don't understand the whole issue with the 9v battery breadboard image, but part of the problem is that Inkscape saved the text as a single giant svg path command, which Qt's SVG renderer found indigestible. When I replaced the path command with a text command, Qt, and therefore Fritzing, were able to display the image correctly.
- j
Post a Reply
Please login to post a reply.