On Fri, Mar 11, 2005 at 12:13:44PM -0600, Brock Campbell wrote:
> The arial.ttf is located in the same directory as the script. Originally
> it was kept in a ../fonts/ folder. 

Well, it definitely isn't failing silently for me.  If I set the
Content-type: header before calling imagettftext() with a non-existent font,
galeon fails to display the image "because it contains errors".  The errors
are the error message from imagettftext(), which says "Could not find/open
font in ...".

Of course setting a Content-type header is going to obscure any text error
messages; and some browsers may even ignore the errors and display the
image.  This would not be a PHP bug if that's what you're also seeing.

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to