#20073 [Opn->Fbk]: Anti-aliasing of text fails when writing it to trueColor image
| From: | sniper@php.net | Date: | Fri, 25 Oct 2002 06:19:25 +0000 |
| Subject: | #20073 [Opn->Fbk]: Anti-aliasing of text fails when writing it to trueColor image | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23280@lists.php.net to get a copy of this message | ||
ID: 20073
Updated by: sniper@php.net
Reported By: millz@incogen.com
-Status: Open
+Status: Feedback
-Bug Type: *Graphics related
+Bug Type: GD related
Operating System: Solaris 9
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Use your original configure line, but don't pass '--with-gd' any path.
(This will make it use the bundled GD library)
If this fails too, please provide a short example script
which can be used to reproduce this.
Previous Comments:
------------------------------------------------------------------------
[2002-10-24 14:57:02] millz@incogen.com
Because of color-space issues that came up with using the simple 8-bit
imageCreate() method, I have moved to using the imageCreateTrueColor()
function.
If I create and image using imageCreateTrueColor, and then try to write
text onto it using ImageTTFText, the text will not be anti-aliased. I
have negated the color index being passed into ImageTTFText as an
attempt to fix the issue, but there was no change.
Configure line
----------------
./configure --prefix=/homespace/geneport4/system/core/php --enable-wddx
-enable-sigchild --enable-trans-sid
--enable-inline-optimization
--with-apxs=/homespace/geneport4/system/core/apache/bin/apxs
--without-mysql --with-oci8
--enable-track-vars --enable-gd-native-ttf
--with-gd=/homespace/geneport4/system/core
--with-freetype-dir=/homespace/geneport4/system/core
--with-png-dir=/homespace/geneport4/system/core
--with-zlib=/homespace/geneport4/system/core
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20073&edit=1