Ampersand symbol in text fails to convert svg to png
Posted: 2014-10-08T23:26:00-07:00
I have this issue that I have been struggling with and can't seem to resolve. Specifically, I am converting an svg image to png. This works beautifully. However, if the svg image contains ampersand symbol in its text, then the generated png file ends up being empty. The font for the text can be of any kind.
My typical convert command is:
"convert": "-background transparent -size 525x510 svg:- -units PixelsPerInch -density 300 -depth 8 -alpha off -fill #FFFFFE -opaque #FFFFFF -alpha on -bordercolor #FFFFFF -border 0 png:-"
The sample svg input file is https://s3-us-west-1.amazonaws.com/topg ... e25533.svg.
I am currently on CentOS release 6.4 (Final) running ImageMagick 6.8.7-1 2013-10-20 Q16
and my delegate is
$ convert -list configure | grep DELEGATES
DELEGATES bzlib djvu mpeg fontconfig freetype jng jpeg lcms openexr pango png ps tiff x xml zlib
Any help on this will be very much appreciated.
My typical convert command is:
"convert": "-background transparent -size 525x510 svg:- -units PixelsPerInch -density 300 -depth 8 -alpha off -fill #FFFFFE -opaque #FFFFFF -alpha on -bordercolor #FFFFFF -border 0 png:-"
The sample svg input file is https://s3-us-west-1.amazonaws.com/topg ... e25533.svg.
I am currently on CentOS release 6.4 (Final) running ImageMagick 6.8.7-1 2013-10-20 Q16
and my delegate is
$ convert -list configure | grep DELEGATES
DELEGATES bzlib djvu mpeg fontconfig freetype jng jpeg lcms openexr pango png ps tiff x xml zlib
Any help on this will be very much appreciated.