Ampersand symbol in text fails to convert svg to png

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Ampersand symbol in text fails to convert svg to png

Post by fmw42 »

It would be an error in your install of librsvg, so in the librsvg log.

Your IM log seems to be OK.

What do you get from

convert -list format

for SVG

Mine shows:

SVG SVG rw+ Scalable Vector Graphics (RSVG 2.40.2)
SVGZ SVG rw+ Compressed Scalable Vector Graphics (RSVG 2.40.2)


What do you get from

convert -version

Mine show:


Version: ImageMagick 6.8.9-8 Q16 x86_64 2014-09-28 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib


If those are there, then RSVG is installed and IM can see it.
rs13
Posts: 65
Joined: 2009-01-15T12:57:26-07:00

Re: Ampersand symbol in text fails to convert svg to png

Post by rs13 »

Any help please? I have been stuck on this rsvg issue for weeks now and hoping someone will be able to tell me why I can't get svg converted to png if I installed from source, without error and delegates are showing that rsvg is being used. Please help.
rs13
Posts: 65
Joined: 2009-01-15T12:57:26-07:00

Re: Ampersand symbol in text fails to convert svg to png

Post by rs13 »

Any help please? I have been stuck on this rsvg issue for weeks now and hoping someone will be able to tell me why I can't get svg converted to png if I installed from source, without error and delegates are showing that rsvg is being used. Please help.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Ampersand symbol in text fails to convert svg to png

Post by fmw42 »

Since you apparently upgraded, what are you getting for errors. Please repost the SVG file and your convert -version information and your convert -list format information and your exact command line (as simple as possible that fails).

Does it work without the Ampersand? Is it possible that your font is corrupt or does not have ampersand?

Also check to see that you do not have multiple versions of IM installed. Perhaps you are running a different version of IM that does not have RSVG installed.

try

type -a convert

and see if it lists more than one convert and where they are located.
Post Reply