Re: [PHP-DEV] Bug #12065 Updated: "libgd was not built with TrueType font support" problem From: Rasmus Lerdorf (rasmus <email protected>)
Date: 07/13/01

Use GD2 compiled like this:

gd2 Makefile:
CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm
make

Then for PHP:

--with-gd=/home/user_id/gd-2.0.1
--enable-gd-native-ttf
--with-freetype-dir=/usr
--enable-gd-imgstrttf
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-xpm-dir=/usr/X11R6

and you will end up with a php+gd that can do everything.

-Rasmus

On Fri, 13 Jul 2001, Michael Kunze wrote:

> ...i have the same problem here with SuSE linux 7.2., freetype 2.0.3 and
> gd 1.8.4. I definitely have tested freetype2 support with the "gdtestft"
> freetype2 test program provided by gd and it works.
>
> Greetings
>
> Michael
>
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>