You are not logged in.

#1 2010-05-03 18:08:44

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

librsvg 2.26.3 breaks endering of some SVG images [SOLVED]

Hi,

After librsvg was upgraded to 2.26.3, a lot of SVG images of hieroglyphs that I created (>3200!)
do not render properly. It seems that the transform="scale(0.5)" attribute in the <svg tag is ignored. When I placed in in a group tag, it worked. Below is the contents of the two files:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="64px" height="64px" transform="scale(0.5)"
xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="32px" cy="32px" r="32px" fill="red" />
<rect x="10px" y="25px" width="44px" height="14px" fill="white" />
</svg>

I eventually tried validating this on the w3c validation site - the transform attributed should not be in the above position. However, with librsvg 2.26.2 it did work, e.g. it did scaled the image. With librsvg 2.26.3, however, this error apparently is not tolerated. So I now have to edit all images :-(

Last edited by neok (2010-05-04 15:35:23)


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

Board footer

Powered by FluxBB