From: Wenyuan G. <guo...@gm...> - 2010-08-02 10:58:00
|
Hi Brendan, > I did notice, while looking through get_svg_dimensions(), that it calls > rsvg_init() and rsvg_term(). I'm not familiar with RSVG but I'd expect those > to be meant to be called once per run. Do you think that might be the reason > for the bottleneck in getting SVG dimensions? This must be programmer's common instinct. I noticed this quirk too. But unfortunately (fortunately maybe?), this two calls are instantaneous according to my tests :). Cheers Wenyuan |