Open davidperrenoud opened 10 years ago
From cont...@airpiano.de on September 16, 2009 05:22:21
This issue is already documented.
From irasc...@gmail.com 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 irasc...@gmail.com on February 28, 2010 03:46:50
Owner: irascibl
Cc: -merunga -irascibl -brendan.howell
From irasc...@gmail.com on September 27, 2010 23:53:03
Labels: Component-Parts
From irasc...@gmail.com on September 28, 2010 09:53:57
Issue 798 has been merged into this issue.
Cc: merunga brendan.howell
From irasc...@gmail.com 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:
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