rsvg-convert: SVG output is scaled up
Hi,
it looks like rsvg works with pixels units (struct _RsvgDimensionData
in librsvg/rsvg.h
), while cairo SVG surfaces use pt as a default unit, so converting from SVG to SVG with rsvg-convert results in a scaled up document.
Now that there is a way to specify units for SVG documents in a stable cairo release (original report is https://bugs.freedesktop.org/show_bug.cgi?id=90166) I think it would be less surprising for users to have SVG output document to use pixels, following rsvg representation, in order to match the original document dimensions.
If that sounds reasonable I will prepare a patch and send a merge request soon.
Ciao, Antonio