imagettftext, text values. How to add a new line? is it \n?
| From: | Louie Miranda | Date: | Wed, 25 Jan 2006 02:27:43 +0000 |
| Subject: | imagettftext, text values. How to add a new line? is it \n? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229201@lists.php.net to get a copy of this message | ||
imagettftext($im, $size, 0, 2, 13, $text_color,
"includes/resources/SHELAS.TTF", "$text");
I have generated this image text width=300 x height=300. The value of the
$text is
Hello World
I want to get the second word which is World into the second line. I have
tried \n but it has no effect.
Would that be possible? Please help.
--
Louie Miranda
http://www.axishift.com -- under development