After strugling with different renderings between inkscape and librsvg, it turns out the viewbox attribute seems to be misinterpreted in Inkscape.
http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
Tested with the sample case SVG - http://www.w3.org/TR/SVG/images/coords/ViewBox.svg. Editing the viewbox to be stretched by 50% on the X axis:
<svg width="150px" height="200px" viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" version="1.1">
rsvg render corresponds to the w3c result http://www.w3.org/TR/SVG/images/coords/ViewBox-Width150.png
Attaches is rsvg output and inkscape output.
After strugling with different renderings between
inkscape and librsvg, it turns out the viewbox
attribute seems to be misinterpreted in Inkscape.
http:// www.w3. org/TR/ SVG/coords. html#ViewBoxAtt ribute
Tested with the sample case SVG - www.w3. org/TR/ SVG/images/ coords/ ViewBox. svg.
http://
Editing the viewbox to be stretched by 50% on the X axis:
<svg width="150px" height="200px" atio="none" www.w3. org/2000/ svg" version="1.1">
viewBox="0 0 1500 1000" preserveAspectR
xmlns="http://
rsvg render corresponds to the w3c result www.w3. org/TR/ SVG/images/ coords/ ViewBox- Width150. png
http://
Attaches is rsvg output and inkscape output.