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
-
[EMAIL PROTECTED]
http://rayh.co.uk
--
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]