Page 1 of 1

Imagick Arc Text Issue In CentOS

Posted: 2013-02-21T21:44:57-07:00
by Samganesh
I have generated imagick arc text in my website by convert command, its working fine in my local system. My local sytem configuration is PHP 5.3.5, Imagick module 2.3.0 with imagemagick version 6.7.1 in Windows. The arc text generated properly in my windows server.

The same command is not working in my development server with following configuration PHP 5.3.6, Imagick module 2.3.0 with imagemagick version 6.7.1 in CentOS 6.3 . When i execute the arc text command in development server, the text is generated without arc. I have used the following command to create a arc text.

convert -font Candice -pointsize 20 label:"Around the World" \ -virtual-pixel Background -background SkyBlue \ -distort Arc 180 \centos_arc_circle_355.jpg

I used the exec command to execute the above command. Please refer with attached images...........

In windows :Image

In centOS :Image


Please help me to fix this bug.

Thanks in advance
Ganesh.S

Re: Imagick Arc Text Issue In CentOS

Posted: 2013-02-22T14:21:44-07:00
by snibgo
Are the font files identical on the two systems?

Re: Imagick Arc Text Issue In CentOS

Posted: 2013-02-22T16:59:07-07:00
by fmw42
I am not sure exactly how these relate to font drawing, but are the fontconfig and freetype delegates the same on the two systems.

see
http://www.imagemagick.org/download/delegates/

Are you sure that PHP and Imagick are actually configured with the same Imagemagick version you are using on your computer?