Bug #12956: libgd2 + TTF = ugly fonts.
| From: | php-bugs at c0de dot net | Date: | Sat, 25 Aug 2001 07:15:14 +0000 |
| Subject: | Bug #12956: libgd2 + TTF = ugly fonts. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64297@lists.php.net to get a copy of this message | ||
From: php-bugs@c0de.net
Operating system: Debian GNU/Linux
PHP version: 4.0CVS-2001-08-25
PHP Bug Type: GD related
Bug description: libgd2 + TTF = ugly fonts.
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 bug report at: http://bugs.php.net/?id=12956&edit=1