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
degree symbol not plotting
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: degree symbol not plotting
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.
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.
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:
Re: degree symbol not plotting
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!
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!