
On Tue, 04 Jan 2005 12:47:07 -0600, Derek P. Moore <derekm@...606...> wrote:
Actually, the way Inkscape handles icons now, it renders every instance of an icon separately. So the same icon in three different places gets rendered three times. With librsvg's gdk-pixbuf loader and IconFactory, the icon is only rendered once and the resulting pixbuf is used everywhere the icon is used.
The overhead from reusing the same icon in different places is negligible. What is not negligible is parsing every SVG file separately. Of course it may be that rsvg renders separate SVGs faster than Inkscape renders its icons.svg, but again, icon rendering is not a bottleneck currently.
As soon as Inkscape's renderer works as seamlessly with GTK+ and is available as a dynamic gdk-pixbuf loader, I'll agree with you.
Is it too hard to make a gdk-pixbuf loader out of it, capable of rendering icons by their ids from a single file?