imagettftext, text values. How to add a new line? is it \n?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux