ID: 12956
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: Debian GNU/Linux
PHP Version: 4.0CVS-2001-08-25
New Comment:

First, create a short but complete example script and
include it here so we can test it.

Second, you should use the correct paths for the configure
options:

--with-freetype-dir=/usr

And btw. This configure option is for freetype2. 
( --with-ttf is for freetype 1.x )

Also note that GD2 is in BETA.
This might instead being a bug in PHP, be a bug in GD2.

--Jani


Previous Comments:
------------------------------------------------------------------------

[2001-08-25 03:15:14] [EMAIL PROTECTED]

It all started when my boss wanted better looking thumbnails.  I found that 
imagecopyresampled() would make better thumbnails.  It requires libgd2 for it to work. 
 I removed libgd1 and installed libgd2.  The thumbnails are great now, but the ttf's 
are very bad.  They are larger and I think that the anti-alias is turned off or 
something.  I went back to libgd1 and the fonts look good.  I downloaded the CVS php4 
and tried with that, still same problem.

I can't use libgd2 and have nice fonts.  I can't use libgd1 and have nice thumbnails.  
I'm stuck.

Here is my configure line:
./configure  --with-apxs=/www/bin/apxs --enable-track-vars --enable-trans-sid 
--with-gd --enable-gd-native-ttf --with-pgsql --without-mysql --with-imap 
--with-openssl

and also:
./configure  --with-apxs=/www/bin/apxs --enable-track-vars --enable-trans-sid 
--with-freetype-dir=/usr/lib --with-gd --enable-gd-native-ttf --with-ttf --with-t1lib 
--with-pgsql --without-mysql --with-imap --with-openssl



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12956&edit=1


-- 
PHP Development 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