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
imagettftext not displaying text
Moderators: onion2k, General Moderators
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.
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