Re: [PHP4BETA] Problems installing freetype support

From: Date: Wed, 18 Aug 1999 10:13:25 +0000
Subject: Re: [PHP4BETA] Problems installing freetype support
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-3538@lists.php.net to get a copy of this message
Sascha Schumann wrote: > > Add > > > > #define ENABLE_GD_TTF 1 > > > > to php_config.h > > > > and look in the bugs database > > Should work now out of the box. > > Hello, i saw that the ENABLE_GD_TTF is only defined with (WIN32|WINNT) in "gdcache.c". I think that's wrong. I get a message when starting php4 as DSO, that the Symbol gdCache.Create is not defined. So i added 3 lines into gdcache.c on line 45. #ifdef HAVE_LIBTTF #define ENABLE_GD_TTF #endif And now it works. Is that right?? I'm no specialist in C programming. Yours Hans-Peter Straub -- -------------------------------* GKS I-NetPartner GmbH Hans-Peter Straub Seewiesenstrasse 12 D-73054 Eislingen -- Phone: +49 7161 9849955 Fax: +49 7161 9849956 -- eMail: straub@i-netpartner.de Web: http://www.i-netpartner.de -------------------------------*

« previous php.version4 (#3538) next »