>my configure line:
>
>./configure' '--with-mysql' '--with-apache=../apache_1.3.12'
>'--enable-track-vars' '--enable-ftp' '--with-jpeg-dir=/usr/local/bin'
>'--with-gd-dir=/usr/local/bin'
>
>gd version 1.8.1 ..
>
>Then whenever I try to create an image of any kind, be it gif, jpg, or png,
>I get:
>
><br>
><b>Warning</b>: ImageTtfText: No TTF support in this PHP build in
><b>/data/www/apache/htdocs/airforce/quote/image.php</b> on line <b>7</b><br>
><br>
><b>Warning</b>: ImageGif: No GIF support in this PHP build in
><b>/data/www/apache/htdocs/airforce/quote/image.php</b> on line <b>8</b><br>
>
>
>
>(It would give me the same warnings for JPG .. No JPG support, no PNG
>support, etc.)
>
>
>What did I do wrong? I thought I built it in correctly, that configure line
>appears when I do the phpinfo() stuff ..
>
Hi Chad!
You should compile PHP with TTF-Support, if you want to use
TrueTypeFonts (ImageTTFText does this)
for this you would need the freetype package (http://freetype.sourceforge.net)
and add this to your configure line
for freetype 1.x: --with-ttf='/path/to/ttf'
-- or --
for freetype 2.x: --with-freetype-dir='/path/to/freetype'
you should also make sure you built gd with freetype support, i'm not
sure if gd 1.8.1 supports freetype 2.x and I would recommend that you
upgrade your gd_lib to 2.0.1 it's a beta, but it's quite stable!
Best,
Sebastian
--
PHP General 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]