Page 1 of 1

imagettftext not displaying text

Posted: Mon Aug 21, 2006 9:01 am
by anjanesh
For some reason on one linux server, imagettftext is not displaying the text, yet the array is not returned as false and there are no other GD errors. Font filelocation exists and I tested the same code on different linux servers and it works.

Any idea what could be wrong on this server ? Some config issue ?

Thanks

Posted: Mon Aug 21, 2006 9:17 am
by feyd
Does the code work with other fonts? Is Freetype enabled? Is GD up to date?

Posted: Mon Aug 21, 2006 9:25 am
by anjanesh
Code doesnt work with any other fonts.
I just tested by giving the wrong location of the font and the script gave an error saying font not found. So font-location doesnt seem to be the problem.

On this server, php was compiled with the 5.1.4 version, gd & FreeType are enabled.

Code: Select all

GD Support 	enabled
GD Version 	bundled (2.0.28 compatible)
FreeType Support 	enabled
FreeType Linkage 	with TTF library
FreeType Version 	1.4
GIF Read Support 	enabled
GIF Create Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled