degree symbol not plotting

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
bhoch
Posts: 3
Joined: 2014-05-21T06:53:20-07:00
Authentication code: 6789

degree symbol not plotting

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: degree symbol not plotting

Post 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.
bhoch
Posts: 3
Joined: 2014-05-21T06:53:20-07:00
Authentication code: 6789

Re: degree symbol not plotting

Post 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! ;)
Post Reply