
 Vampyre Bytes - 2006-10-28 09:49:00
 
I've tried it with various fonts in the same directory as the class file and the demo files. The form lists the fonts in the directory just fine, but no matter which ttf I use, I get "Could not find/open font in /var/www/textImage/class.atextimage.php on line XXX"
I've adjusted permissions to 775 and made sure that the files belonged to teh PHP/Apache "user".
I know this isn't a problem specific to your class, since I tried a similar class to similar results, though in that other class, I was able to use "arial.ttf" and a special font "ASANEW.TTF".
Any advice? (PHP 5.12/Apache 2.0.55 on a Ubuntu (6.06LTS) Linux system (Debian based, with the 2.6.15-27 kernel) GD installed and enabled.)
phpinfo() output about GD:
GD Support 	enabled
GD Version 	2.0 or higher
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.1.10
T1Lib Support 	enabled
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled