Re: Building PHP with freetype and libgd 1.8

From: Date: Thu, 05 Jul 2001 21:10:52 +0000
Subject: Re: Building PHP with freetype and libgd 1.8
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59023@lists.php.net to get a copy of this message
On 05/07/01, "Jeremy Bettis" <jeremy+phpnews@deadbeef.com> wrote: > > I had trouble building cvs version of PHP with libfreetype. Right now > HAVE_LIBFREETYPE only works if HAVE_LIBGD20, this patch fixes that. Can you elaborate on this? In all versions of GD (including 2.0) gdImageStringTTF is present, but only since 2.0 is gdImageStringFT present. So, I wouldn't expect this patch to make any difference to GD 1.8. What was the trouble you had building it? --Wez. > #ifdef USE_GD_IMGSTRTTF > -# if HAVE_LIBGD20 & HAVE_LIBFREETYPE > +# if HAVE_LIBFREETYPE > error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, > str); > # else > error = gdImageStringTTF(im, brect, col, fontname, ptsize, angle, x, y, > str);

« previous php.dev (#59023) next »