On 05/07/01, "Jeremy Bettis" <[EMAIL PROTECTED]> 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);
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]