I completely gave up trying to compile freetype 2.x into GD. However
I was able to successfully compile freetype 1.3 directly into PHP
which seems to work fine.

    forget trying to use:


    which assumes you have freetype 1.3 installed to  /usr/local/freetype

BTW  - I have my own question. To restart apache at the moment I have to set
and export:


Anyone know what I need to do to get this recognised by Apache internally.
( I am running Debian Linux "Potato" )


Brian White

At 08:50 3/07/2001 +0200, Ray Hilton wrote:
>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/
>Ray Hilton
>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]

Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/

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]

Reply via email to