Re: [PHP] Unable to get ImageTTFText output

2002-02-05 Thread Neil Freeman
Girish, After a bit of searching around it appears that this is a bug of early versions of PHP, re-introduced in PHP v4.0.6 (the version I was using). I have upgraded to 4.10 and ImageTTFText now works fine. Neil Girish Nath wrote: > Hi > > I had similar problems when just specifying the font

Re: [PHP] Unable to get ImageTTFText output

2002-02-05 Thread Neil Freeman
Hi Girish. Thanks for the suggestion. I have an Apache alias pointing to my site, along the lines of: Alias /input "P:/Projects/data_input" and have placed the ttf files within this directory (where the php script is located as well). I've tried placing the ttf files in a sub-directory as well -

Re: [PHP] Unable to get ImageTTFText output

2002-02-05 Thread Girish Nath
Hi I had similar problems when just specifying the font file in the same directory eg ./arial.ttf but got it to work okay when i used the full path eg : $fontfile = "/apache/htdocs/arial.ttf"; ImageTTFText($im, 20, 0, 3, 3, $text_colour, $fontfile, "My text"); Regards Girish -- www.girishnat