
On Tue, 4 Jan 2005, Derek P. Moore wrote:
While the rendering works fine as is right now, I can guarantee, that the icons as they are will also be correctly rendered by librsvg.
Attached is a screenshot of Inkscape next to its younger brother from the Gtkmm codebase. You'll notice the icons do render a bit differently when passed through librsvg (they're not as crisp).
Very cool, thanks for posting the screenshot.
The rendering differences for librsvg are a bit disappointing, but for now it's great to see them in the codebase. I also did a quick performance comparison to see what impact the svg rendering imposes for startup time. Came to about 10% roughly, which is about what I expected. Inkscape's renderer has a larger impact, but I don't have comparible figures for that.
I still suspect that the best solution for us would be to use the Inkscape renderer but cache the pixmaps. This approach would have the following pros/cons:
+ High performance for startup since loads from cache + Can use the best render available, even if it is slow + Allows for theming; just requires regenerate the pixmaps + Allows us to avoid adding librsvg as a dependency - Involves some new code to manage the cache - Bitmapped toolbar icons aren't considered "cool" ;-)
That said, I think librsvg is a good solution for right now, since inkscape_gtkmm does not have access to Inkscape's renderer currently. Once we merge, and the full renderer is available, though, this would be worth doing imho.
Bryce