note 32680 added to function.imagepstext
| From: | m dot confalonieri at rack1 dot php dot net | Date: | Wed, 04 Jun 2003 11:00:32 +0000 |
| Subject: | note 32680 added to function.imagepstext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49705@lists.php.net to get a copy of this message | ||
I found a way to let imagepstext understand 32-bit colors (RGBA) by replacing in
gd.c:PHP_FUNCTION(imagepstext)
int _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0;
with
unsigned int _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0;
----
Manual Page -- http://www.php.net/manual/en/function.imagepstext.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32680
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32680&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32680&report=yes