[BZ#785676] Target DPI not taken into account when rendering embedded SVGs
Submitted by ale..@...au
Created attachment 356707 sample SVGs
librsvg doesn't respect your target DPI when rasterising embedded SVGs using -d -p or -z. Instead, it rasterises embedded SVGs at whatever their height/width or viewbox attributes specify, and then scales them up, resulting in blur.
I would expect the output of rsvg-convert at a particular DPI to be identical to viewing the SVG at that DPI.
See the attached SVG file and compare the output from "rsvg-convert -d 300 -p 300 twotigers.svg" to the output from "rsvg-convert -d 600 -p 600 twotigers.svg". To my mind they should be the same since this is all vector data to begin with.
Attachment 356707, "sample SVGs":