resizing page without resizing drawing?

Hi all, I've been using Inkscape (version 0.45 under Ubuntu) for a couple of months mostly to make technical drawings and diagrams for use on Wikipedia.
I love it, but there's just one thing that's driving me nuts! There's no way to resize the page without resizing all the objects in it.
For example, I may have an object that's exactly 36×24 mm on an 8×10" page. If I change the page size to A4, all the objects change their size. The only way to restore it is to calculate the *exact* scale factor and then rescale them afterwards... and even then there are sometimes some rounding errors :-(
So is there a way to resize the page without scaling the objects within?
Thanks!
Dan Lenski

Daniel Lenski wrote:
Hi all, I've been using Inkscape (version 0.45 under Ubuntu) for a couple of months mostly to make technical drawings and diagrams for use on Wikipedia.
I love it, but there's just one thing that's driving me nuts! There's no way to resize the page without resizing all the objects in it.
For example, I may have an object that's exactly 36×24 mm on an 8×10" page. If I change the page size to A4, all the objects change their size. The only way to restore it is to calculate the *exact* scale factor and then rescale them afterwards... and even then there are sometimes some rounding errors :-(
So is there a way to resize the page without scaling the objects within?
That isn't normal behavior. Sounds like you edited the files by hand and added a viewBox attribute on the root SVG element to make them scale in a web browser. If that is the case removing the viewBox should revert you to the normal behavior.
Aaron Spike

On Tue, 2007-12-11 at 21:00 -0600, Aaron Spike wrote:
Daniel Lenski wrote:
Hi all, I've been using Inkscape (version 0.45 under Ubuntu) for a couple of months mostly to make technical drawings and diagrams for use on Wikipedia.
I love it, but there's just one thing that's driving me nuts! There's no way to resize the page without resizing all the objects in it.
For example, I may have an object that's exactly 36×24 mm on an 8×10" page. If I change the page size to A4, all the objects change their size. The only way to restore it is to calculate the *exact* scale factor and then rescale them afterwards... and even then there are sometimes some rounding errors :-(
So is there a way to resize the page without scaling the objects within?
That isn't normal behavior. Sounds like you edited the files by hand and added a viewBox attribute on the root SVG element to make them scale in a web browser. If that is the case removing the viewBox should revert you to the normal behavior.
Yes indeed... there was a viewBox in there! How very odd. The image in question was apparently created with Adobe Illustrator originally, which must've put that in there.
Hmm... any way to detect/modify this from within Inkscape?
Thanks for the quick help!
Dan

I belive you could use the XML editor on the Edit menu (Shift+Ctrl+X)
On 12/12/07, Daniel Lenski <dlenski@...155...> wrote:
On Tue, 2007-12-11 at 21:00 -0600, Aaron Spike wrote:
Daniel Lenski wrote:
Hi all, I've been using Inkscape (version 0.45 under Ubuntu) for a couple of months mostly to make technical drawings and diagrams for use on Wikipedia.
I love it, but there's just one thing that's driving me nuts! There's no way to resize the page without resizing all the objects in it.
For example, I may have an object that's exactly 36×24 mm on an 8×10" page. If I change the page size to A4, all the objects change their size. The only way to restore it is to calculate the *exact* scale factor and then rescale them afterwards... and even then there are sometimes some rounding errors :-(
So is there a way to resize the page without scaling the objects within?
That isn't normal behavior. Sounds like you edited the files by hand and added a viewBox attribute on the root SVG element to make them scale in a web browser. If that is the case removing the viewBox should revert you to the normal behavior.
Yes indeed... there was a viewBox in there! How very odd. The image in question was apparently created with Adobe Illustrator originally, which must've put that in there.
Hmm... any way to detect/modify this from within Inkscape?
Thanks for the quick help!
Dan
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (3)
-
Aaron Spike
-
Daniel Lenski
-
Facundo Casco