shibu_pu has asked for the wisdom of the Perl Monks concerning the following question:

Hi

I am using the Image::Magick module to create images using the "Annotate" function and "city_burn.ttf" font. It is working fine. But I tried the same code on another server, then the text displayed is having problems with the font, like there are many dotes scattered around the text. I used the option 'antialias' also. Still the same result.

We used strace method on both servers and analyzed the differences. But everything is ok with the installed libraries.

The differences with the servers are

Server which the code is running fine:
OS: Fedora 9
Perl: 5.10.0
ImageMagick: 6.3.8

Server having the problem:
OS: CentOS 5.2
Perl: 5.8.8
ImageMagick: 6.2.8 (I didn't get 6.3.8 version for CentOS)

Replies are listed 'Best First'.
Re: Image::Magick Annotate
by jethro (Monsignor) on Apr 29, 2009 at 12:00 UTC
    To check for ImageMagick-problems, you might a) read the Changelogs between versions 6.2.8 and 6.3.8 or b) install ImageMagick 6.2.8 on your Fedora-box (i.e. remove the 6.3.8 version and install 6.2.8 from sources into /usr/local) and check what it does.
      Thank you for your reply. The problem was with the linux freetype package. When I updated the freetype version, the problem got fixed.