fritzing-app
fritzing-app copied to clipboard
fritzing and inkscape
From [email protected] on September 14, 2009 06:30:26
There are some problems between fritzing and inkscape. At the very least, the parts creation guidelines need to include some inkscape-specific instructions. In particular, there are two problems I keep seeing:
- When saving an svg for fritzing, choose "save as" and then choose the "plain svg" option. This gets rid of all the sodipodi stuff.
- Users often take existing images and stretch them to make new ones.
However, when these stretched images are displayed in Qt (not just fritzing), they are cropped. This is because Inkscape and Qt seem to have different ideas about what the viewBox does. The solution I've found that usually works (not always) is to take the image in inkscape, select all, copy, and then paste this into a new inkscape document. Then select the "document properties" item from the file menu. In the resulting dialog, click the "fit page to selection" button. Now when you save the new document the image won't be cropped in Qt.
Original issue: http://code.google.com/p/fritzing/issues/detail?id=821
From [email protected] on September 16, 2009 06:02:48
We've already added code to the parts editor to clean up inkscape-style images. I think there is a way we could detect whether the viewBox is wrong: leaving out the details, the idea would be to render the image, then compare the renderer's defaultSize with the viewBox
From [email protected] on February 28, 2010 03:46:50
Owner: irascibl
Cc: -merunga -irascibl -brendan.howell
From [email protected] on September 28, 2010 09:53:57
Issue 798 has been merged into this issue.
Cc: merunga brendan.howell
This doesn't seem to be a problem anymore. Either the workflow is rarely (never?) used, or the problem has been fixed.
74x125_test-imagt.fzp.zip (rename to .fzpz) This part was created in https://forum.fritzing.org/t/cropped-images-from-inkscape/32990/2 to demonstrate the workflow, seems to work.