Hi all, This is probably an SVG question rather than an Inkscape question, but...
I started working on an SVG that I downloaded (which apparently came from Adobe Illustrator, as I have discovered via text editor).
The original document had an inconvenient canvas size, since I had expanded on the drawing considerably. So I went into document preferences and changed it to 800x600 points (the default units were points, and I think 1 pt = 1 pixel for the designed size, although of course, I know that Inkscape also has 'px' for pixels), since I was planning to lay it out for convenient export to a full-screen PNG.
But -- whoops -- the drawing jumped up in scale. It seems like the scale of the drawing is somehow tied to the Y dimension of the canvas.
What's up with that?!
1) How do you even do that?
2) How can I make it stop?
Thanks!
Cheers, Terry
On Sat, Jun 10, 2006 at 12:12:07AM +0000, Terry Hancock wrote:
Hi all, This is probably an SVG question rather than an Inkscape question, but...
I started working on an SVG that I downloaded (which apparently came from Adobe Illustrator, as I have discovered via text editor).
The original document had an inconvenient canvas size, since I had expanded on the drawing considerably. So I went into document preferences and changed it to 800x600 points (the default units were points, and I think 1 pt = 1 pixel for the designed size, although of course, I know that Inkscape also has 'px' for pixels), since I was planning to lay it out for convenient export to a full-screen PNG.
But -- whoops -- the drawing jumped up in scale. It seems like the scale of the drawing is somehow tied to the Y dimension of the canvas.
What's up with that?!
How do you even do that?
How can I make it stop?
There are some assumptions about units which may differ from Inkscape and other drawing programs, that could cause problems like this.
It happens that while we get LOTS of people testing inkscape SVG documents in inkscape, the amount of testing of non-Inkscape SVG in inkscape is much more limited. Thus, there's likely more bugs here, and you can help us out a *lot* by loading different Illustrator SVG files in Inkscape, and analyze unexpected behaviors like this, and make sure there is an entry in the bug tracker for issues you discover.
Bryce
On 6/9/06, Bryce Harrington <bryce@...983...> wrote:
There are some assumptions about units which may differ from Inkscape and other drawing programs, that could cause problems like this.
This has nothing to do with units, most likely. I bet the file has a viewBox which causes this.
bulia byak wrote:
On 6/9/06, Bryce Harrington <bryce@...983...> wrote:
There are some assumptions about units which may differ from Inkscape and other drawing programs, that could cause problems like this.
This has nothing to do with units, most likely. I bet the file has a viewBox which causes this.
Yep: viewBox="0 0 100.21 100.211"
Removing that line solved it. Thanks!
Terry
Bryce Harrington wrote:
On Sat, Jun 10, 2006 at 12:12:07AM +0000, Terry Hancock wrote:
I started working on an SVG that I downloaded (which apparently came from Adobe Illustrator, as I have discovered via text editor).
It happens that while we get LOTS of people testing inkscape SVG documents in inkscape, the amount of testing of non-Inkscape SVG in inkscape is much more limited. Thus, there's likely more bugs here, and you can help us out a *lot* by loading different Illustrator SVG files in Inkscape, and analyze unexpected behaviors like this, and make sure there is an entry in the bug tracker for issues you discover.
Regrettably, I can't help much there. I don't actually own a copy of Adobe Illustrator, I just see its tags in the original document I was editing. I might be able to help with Skencil <-> Inkscape conversions, but most of those will probably be Skencil bugs, since it doesn't have very mature SVG support.
Cheers, Terry
Terry Hancock wrote:
Hi all, This is probably an SVG question rather than an Inkscape question, but...
I started working on an SVG that I downloaded (which apparently came from Adobe Illustrator, as I have discovered via text editor).
Form time to time i get to work with SVG files produced by Illustrator: they sometime behave weirdly, have huge file sizes and not always look correctly in Firefox. My quick fix is to open the file in Inkscape, select all, copy and paste in a new document, save and use it. Part of the problems disappear and the files size is smaller up to 10 times.
hi all,
is there some script or program that could strip all the non standard crap out of an svg?
john.
On 6/10/06, Nicu Buculei <nicu@...143...> wrote:
Terry Hancock wrote:
Hi all, This is probably an SVG question rather than an Inkscape question, but...
I started working on an SVG that I downloaded (which apparently came from Adobe Illustrator, as I have discovered via text editor).
Form time to time i get to work with SVG files produced by Illustrator: they sometime behave weirdly, have huge file sizes and not always look correctly in Firefox. My quick fix is to open the file in Inkscape, select all, copy and paste in a new document, save and use it. Part of the problems disappear and the files size is smaller up to 10 times.
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (5)
-
Bryce Harrington
-
bulia byak
-
j michaelson
-
Nicu Buculei
-
Terry Hancock