configuring with gd for TTF
| From: | Ray Hilton | Date: | Tue, 03 Jul 2001 06:50:09 +0000 |
| Subject: | configuring with gd for TTF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55937@lists.php.net to get a copy of this message | ||
I'm having all sorts of headaches trying to get TTF support in gd to
work. I have compiled from scratch gd 1.8 with ttf support by way of
freetype 2, this compiles fine. Then I compile php using the configure
statement below and all I get when I try and call a TTF function is:
Warning: libgd was not built with TrueType font support in
/home/ray/webroot/rayh/htdocs/gfx/image.php on line 48
Etc etc... Can anyone point me in the right direction? Am I right in
thinking that you can either use gd's native ttf support or compile
freetype into php seperatley?
./configure --with-xml --with-dom --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --with-sablot
--with-openssl=/usr/local/ssl --with-zlib --with-ttf=no --with-gd
--enable-shared-pdflib --with-imap --with-t1lib=/usr/local/lib/
--with-jpeg-dir=/usr/lib/ --with-freetype-dir=/usr/local/lib/
--enable-gd-native-tt
Cheers,
Ray Hilton
-
me@rayh.co.uk
http://rayh.co.uk