Page 1 of 1

Error rendering fonts in svg

Posted: 2012-09-30T13:40:03-07:00
by pheon
When rendering a font in an svg file, whose size is specified as xx pt, ImageMagick sensibly but incorrectly scales the font by the pixel density. According to this file

http://www.w3.org/TR/SVG/coords.html#Units

in an SVG "1pt" equals "1.25px" and so the font should be the same size irrespective of the pixel density. An example of an SVG file that is rendered incorrectly is here

https://www.dropbox.com/s/jjt3aocr791u31x/test.svg

Re: Error rendering fonts in svg

Posted: 2012-09-30T14:40:21-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.7.9-10 Beta available by sometime tomorrow. Thanks.