php-developer-list | 2001041
Date: 04/13/01
- Next message: cyberlotnet <email protected>: "[PHP-DEV] Bug #10320: Read fails with non_blocking socket."
- Previous message: August Zajonc: "Re: [PHP-DEV] Bug #10319: multipart/form-data does not work with Opera browser"
- Next in thread: Brian Moon: "Re: [PHP-DEV] GD 2.0.1 and FreeType 2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When compiling Apache I get:
modules/php4/libphp4.a(gd.o): In function `php_imagettftext_common':
/usr/src/apache/php4-200104131045/ext/gd/gd.c:2667: undefined reference to
`gdttf'
Brian Moon
Phorum Dev Team - Making better forums with PHP
http://phorum.org/
-------------------------------------------------------------------------
----- Original Message -----
From: "Wez Furlong" <wez <email protected>>
To: "Brian Moon" <brian <email protected>>
Sent: Friday, April 13, 2001 5:42 AM
Subject: Re: [PHP-DEV] GD 2.0.1 and FreeType 2
> Hi Brian,
>
> > A) has anyone tried PHP and gd 2.0.1?
> Yes - me.
>
> > B) If I compile gd with FreeType 2 support, do I have to compile
FreeType
> > into PHP?
> PHP needs to be linked to any and all libraries that are used by those
libraries that you use, if you get my meaning!
> If gd has a dependency on freetype, then anything that uses that gd
library will need to be linked to freetype as well.
>
> I've attached a patch that takes care of this and enables the true color
and alpha channel code, plus a handful of line style and image brush/tile
options that have so far been missing from PHP.
>
>
./configure --with-ttf=no --with-freetype-dir --with-png-dir --with-jpeg-dir
--with-gd
>
> The --with-ttf=no is there to prevent linking against the libttf if it is
installed.
>
> Please let me know how you get on with this!
>
> --Wez.
>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: cyberlotnet <email protected>: "[PHP-DEV] Bug #10320: Read fails with non_blocking socket."
- Previous message: August Zajonc: "Re: [PHP-DEV] Bug #10319: multipart/form-data does not work with Opera browser"
- Next in thread: Brian Moon: "Re: [PHP-DEV] GD 2.0.1 and FreeType 2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

