Re: [PHP] Why is imageTTFtext function useless?(again)

2002-04-26 Thread Jim
Your problem doesn't have anything to do with PHP. The error says that libgd doesn't offer freetype support, so you need to get a more current version of gd. Regards, Jim Heffner No idea, check your config.log and see why it is failing. On Thu, 25 Apr 2002, zhaoxd wrote: Whatever I

Re: [PHP] Why is imageTTFtext function useless?

2002-04-24 Thread Jason Wong
On Thursday 25 April 2002 10:08, zhaoxd wrote: ? //define the type of inputting picture; Heder(content-type:image/png); Is this a typo? Should be Header(...). //create picture $pic=imagecreate(240,30); //define color $black=imagecolorallocate($pic,0,0,0);

Re: [PHP] Why is imageTTFtext function useless?

2002-04-24 Thread Rasmus Lerdorf
It works fine. Spell Header() right, or remove the header altogether so you can see the error message. I predict you will see a message telling you it couldn't open the font file. -Rasmus On Thu, 25 Apr 2002, zhaoxd wrote: hello,all: I have already installed gd-1.8.4 in php-4.1.2 with

Re: [PHP] Why is imageTTFtext function useless?

2002-04-24 Thread zhaoxd
? //define the type of inputting picture; Heder(content-type:image/png); Is this a typo? Should be Header(...). Sorry, I did a wrong copy.But when I cut this line,it output a warning words: libgd was not built with FreeType font support in /usr/local/apache/htdocs/test.php

Re: [PHP] Why is imageTTFtext function useless?(again)

2002-04-24 Thread zhaoxd
Whatever I tried ,it is also useless,why? This time I compile it with freetype-1.3.1.when I used the test code , it also said libgd was not built with FreeType font support in /usr/local/apache/htdocs/test.php on line 14. Would you mind tell me how you do this? I just wanna support

Re: [PHP] Why is imageTTFtext function useless?(again)

2002-04-24 Thread Rasmus Lerdorf
No idea, check your config.log and see why it is failing. On Thu, 25 Apr 2002, zhaoxd wrote: Whatever I tried ,it is also useless,why? This time I compile it with freetype-1.3.1.when I used the test code , it also said libgd was not built with FreeType font support in