Maybe you should try with full path to the .ttf file... Also, try some different fonts, not only one...
-- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Azn" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > I'm trying to create an image with PHP. However, this is my problem. When I > open my php file, that creates an image, I get this (without the HTML): > > Warning: imagettftext(): Could not find/open font in C:\Program > Files\Apache Group\Apache2\htdocs\image.php on line 14 > > These are my settings when I view phpinfo: > GD Support enabled > GD Version bundled (2.0.15 compatible) > FreeType Support enabled > FreeType Linkage with freetype > GIF Read Support enabled > JPG Support enabled > PNG Support enabled > WBMP Support enabled > XBM Support enabled > > > So I believe this should work. Anyone have any ideas? > > BTW, this is my strip of code: > > ImageTTFText($img,10,0,4,19,$textColor,"times.ttf","$ip\n\r$alt"); > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php