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
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
-
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
3 matches
Mail list logo