Re: configuring with gd for TTF

From: Date: Tue, 03 Jul 2001 07:08:00 +0000
Subject: Re: configuring with gd for TTF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55939@lists.php.net to get a copy of this message
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. IE: forget trying to use:
             --enable-gd-native-ttf
instead:
             --with-ttf=/usr/local/freetype/
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:
    LD_LIBRARY_PATH=/usr/local/freetype/lib/
Anyone know what I need to do to get this recognised by Apache internally. ( I am running Debian Linux "Potato" ) Regs 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/ --enable-gd-native-tt Cheers, Ray Hilton - me@rayh.co.uk http://rayh.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
------------------------- Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: bwhite@steptwo.com.au

« previous php.general (#55939) next »