140c140
<     RsvgDimensionData dimensions;
---
>     RsvgDimensionData dimensions, dimensions_orig;
320a321
>             rsvg_handle_get_dimensions_sub (rsvg, &dimensions_orig, export_lookup_id);
417a419,421
> 
>         cairo_scale(cr, (double) dimensions.width / dimensions_orig.width,
>                 (double) dimensions.height /dimensions_orig.height);
