What is standard to most GTK apps? There is something luring about using SVG icons since we are the SVG app, right? Also, by supporting SVG, that would that allow green-developers to quickly add icons for our app.
I know its more work, but SVGs sound like the proper way to go. Looks like gnome is moving that way as well with their entire interface to be svg rendered on-screen, as well as icons.
Otherwise, what would someone do to create an icon. Add it to icons.svg, then export it as a png, and then convert it to an XBM file?
It might be nice to get some of these new icons designed for our next release.
Jon
On Tue, 2004-03-02 at 11:36, Robert Crosbie wrote:
From: Bryce Harrington <bryce@...1...> To: inkscape inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] more font work Date: Tue, 2 Mar 2004 11:16:28 -0800 (PST)
On Tue, 2 Mar 2004, Jonathan Phillips wrote:
Two things:
1.) What is the speed differences between using SVGs compared to XPMs for icons in the interface?
I don't think anyone's quantified it, but I traced through the code that gets called to render them, and it's quite extensive. My guess is that it's quite a bit slower, but couldn't say how much. I suspect that could be mitigated via caching the rendered bitmaps at compile or installation time.
2.) Currently, our interface doesn't use SVGs for icons, right?
I think it uses a mix of both SVG and XPM.
Bryce
Yes, it is a mix of both SVG and XPM. I was working on this a while ago when I added the Stock support. I got lost in the SVG icon rendering code and didn't know if we wanted to go exclusively with SVG or XPM, so I left things as a mix. I haven't had time to work on the code since before christmas. :(
Some icons in the icons.svg file aren't rendered as xpm yet. If we went exclusively with XPM's we could put everything in stock and get rid of the SPIcon code (I think). It should be faster and the code would be easier to manage and understand. Also, last time I looked, Valgrind was reporting quite a few memory leaks traceable to the SPIcon code.
Cheers, Rob. http://members.rogers.com/rcrosbie
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel