-
Notifications
You must be signed in to change notification settings - Fork 193
Can't resize objects imported from Openclipart #640
Comments
From [email protected] on August 14, 2014 07:48:18 Same issue in version 2.0.5 under Windows 7 |
Same issue on Mac OS X Mavericks, Mac OS X Yosemite, Linux Debian Jessie and Ubuntu 14.04 LTE 64 bits... The issue seems to affect the svg file format, not only images coming from the open gallery. |
MORE INFORMATION: I'll post this in a few places in an attempt to help figure out the problem. The open clipart browser will show size information next to the file name - certain ones have a size of "0x0" - THESE are the ones that will not be able to be resized. This appears to be an issues with open clipart, and not Pencil, but I'm not sure... just sharing the info! :) Personal side note: the software is free and pretty awesome - let's not make nasty demands of the people putting time into creating and fixing this... |
Thanks poppiesny for providing this information. I had a deeper look at the SVG files where the size was "0x0" vs. the ones where the size was displayed correctly. The problem seems to be the missing "width" and "height" attributes of the Example, non-working file:
After adding the missing attributes manually the file worked fine in Pencil Project:
But I don't think this is a problem of openclipart, because "width" and "height" are optional attributes regarding to the spec of SVG. It's an issue of Pencil that it needs those attributes. Somebody able to implement a workaround, like calculating this values and adding the attributes if they don't exist already? |
An additional note to this. There are many cases where the resizing works, but wrongly. E.g. the SVG drawing imports but is much bigger than the box which is shown for sizing it. |
Check your PrivateCollection.xml file. Work Around - With Pencil Closed
(Quick and dirty Search and Replace "" with "...But make sure you back up first.) |
From [email protected] on June 23, 2014 07:35:33
What steps will reproduce the problem? 1. Draw any diagram
2. Import an object from openclipart using the API in tools menu
3. Try resizing the object What is the expected output? What do you see instead? I should have been able to resize the object which never happens. What version of the product are you using? On what operating system? 2.0.5 on Ubuntu 14.04 Please provide any additional information below.
Original issue: http://code.google.com/p/evoluspencil/issues/detail?id=640
The text was updated successfully, but these errors were encountered: