That's the current one from Ubuntu, I think, and it has problem rendering xlink:href. Link to Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+sour ... ug/1299267. It's a confirmed bug but there is no follow-up action.solo wrote:Well I have version 2.36.1, which works fine in any other respect.jamesbond wrote:Your librsvg may be defective. Version 2.34 works.
The following is the SVG I use in Fatdog to render drive icons. It is supposed to show something like what the attachment to this post shows. It works with 2.34.
Code: Select all
<svg width="48" height="48" id="svg1" xmlns:xlink="http://www.w3.org/1999/xlink">
<image xlink:href="/usr/share/midi-icons/drive48.png" width="48" height="48"/>
<rect x="2" y="2" width="12" height="12" fill="#00ff00" stroke="black" stroke-width="2"/>
<line x1="2" y1="2" x2="14" y2="14" stroke="black"/>
<line x1="2" y1="14" x2="14" y2="2" stroke="black"/>
</svg>
I don't know much of libsvgtiny to say whether it supports external link or not. If libsvgtiny is your target, technosaurus may be able to give you more details.