Re: Bug #12065 Updated: "libgd was not built with TrueType font support" problem
| From: | Rasmus Lerdorf | Date: | Fri, 13 Jul 2001 21:44:32 +0000 |
| Subject: | Re: Bug #12065 Updated: "libgd was not built with TrueType font support" problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60004@lists.php.net to get a copy of this message | ||
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
>
>
>