23 Jan
2007
23 Jan
'07
1:48 a.m.
On Tue, 2007-01-23 at 09:20 +1000, ryan lerch wrote:
i am wondering if there is a command for the inkscape command line that allows an svg's document boundry to be reduced to fit tight around all the elements.
If there is not one, it sure would be handy for us over at the openclipart library...
cheers,
ryanlerch
Oh wait, this is easy to do...
1.) add a commandline option for this option
2.) select all items on canvas, or if an option passed, selects the group id
3.) calls up the "Fit Page to Selection" command (which can be seen in the document properties dialog).
That should do it...
If I add this, should I add this to the inkscape menu. If so, where should it go in the menu?
Bulia, I know you will want a say in this ;)
Jon
--
Jon Phillips
San Francisco, CA
USA PH 510.499.0894
jon@...235...
http://www.rejon.org
MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon@...896...
IRC: rejon@...897...