note 35868 added to function.imagefttext

From: Date: Wed, 17 Sep 2003 18:07:04 +0000
Subject: note 35868 added to function.imagefttext
Groups: php.notes 
Request: Send a blank email to php-notes+get-56646@lists.php.net to get a copy of this message
After spending the evening with some work on automatically generated images, I had the idea to switch of anti-aliasing (looking, if some font would look better that way), which turned out not to be quite so easy. Actually you have to use the negative of the desired color to switch of antialising. I include the corresponding line from my code (line split up): // USE NEGATIVE OF DESIRED COLOR TO SWITCH OF ANTI-ALIASING ImageFTText ($neuesBild,$fontsize,$fontangle,$TextPosX,$TextPosY, -$custom_fg,$fonttype,$text,array()); ---- Manual Page -- http://www.php.net/manual/en/function.imagefttext.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35868 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35868&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35868&report=yes

« previous php.notes (#56646) next »