#20073 [NEW]: Anti-aliasing of text fails when writing it to trueColor image
| From: | millz at incogen dot com | Date: | Thu, 24 Oct 2002 19:57:03 +0000 |
| Subject: | #20073 [NEW]: Anti-aliasing of text fails when writing it to trueColor image | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-23234@lists.php.net to get a copy of this message | ||
From: millz@incogen.com
Operating system: Solaris 9
PHP version: 4.2.3
PHP Bug Type: *Graphics related
Bug description: Anti-aliasing of text fails when writing it to trueColor image
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 bug report at http://bugs.php.net/?id=20073&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20073&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20073&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20073&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20073&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20073&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20073&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20073&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20073&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20073&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20073&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20073&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20073&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20073&r=isapi