note 41919 added to function.imagettftext
| From: | morishani at rn2 dot php dot net | Date: | Mon, 26 Apr 2004 11:52:57 +0000 |
| Subject: | note 41919 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68814@lists.php.net to get a copy of this message | ||
Writing Right-To-Left(for hebrew etc').
<?
$px = 365;
// Put here the Right pixel that
//u want the text will start to be writen.
$text = "Text text text text"; // The Text..
$size = 8;
$bound = imagettfbbox($size,0,$font,$text);
imagettftext($imageresource,$size,0,$px-$bound[4],$py
,$text_color,$font,$text);
?>
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41919
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41919&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41919&report=yes
Search -- http://master.php.net/manage/user-notes.php