Page 1 of 1

degree symbol not plotting

Posted: 2014-05-21T07:00:33-07:00
by bhoch
Using Centos 6.5 + Imagemagick 6.5.4-7 2014-02-10 Q16

When I try to use convert to plot text with the degree symbol, the text stops plotting at the degree symbol.

The relevant lines from the script:

set runhr = "Daytime Temperatures (°F) GFS MOS 24 hour Forecast Valid 12Z"
convert tmp1.gif -pointsize 20 -font helvetica -fill black -box white -gravity North -annotate 0x0+0+5 "$runhr" mostemp.24.gif

This was working fine in ImageMagick 6.2.5 04/05/07 Q16 under Fedora 5

Re: degree symbol not plotting

Posted: 2014-05-21T09:54:16-07:00
by fmw42
This works fine for me on IM 6.8.9.1 Q16 Mac OSX. I can find no command called -box, though it does work. Perhaps it is deprecated by -undercolor.

Code: Select all

runhr="Daytime Temperatures (°F) GFS MOS 24 hour Forecast Valid 12Z"
convert -size 1000x50 xc:none -pointsize 20 -font helvetica -fill black \
-undercolor white -gravity North -annotate 0x0+0+5 "$runhr" show:
Perhaps you have a bad helvetica font. Or you need to upgrade your version of IM. You should always provide your version of IM and platform.

Re: degree symbol not plotting

Posted: 2014-05-22T09:51:56-07:00
by bhoch
Silly me for assuming that the version of ImageMagick that comes with the base/epel repositories was current, even when you run yum update. What was I thinking...

Enabled the remi.repo (see 2nd answer at http://serverfault.com/questions/446474 ... centos-6-3). Removed previous version of Imagemagick and replaced with Imagemagick-last (aka Version: ImageMagick 6.8.9-0 Q16 x86_64 2014-04-14) and it seems to be working again.

Now if someone could make it so the name of the package was all lowercase (imagemagick instead of ImageMagick), that would help me avoid even more typos & be great! ;)