Re: imagettftext, text values. How to add a new line? is it \n?
| From: | Richard Correia | Date: | Wed, 25 Jan 2006 03:07:18 +0000 |
| Subject: | Re: imagettftext, text values. How to add a new line? is it \n? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229205@lists.php.net to get a copy of this message | ||
hey,
Check the properties at
http://www.weberdev.com/Manuals/PHP/function.imagettftext.html
You can try second imagettftext with new X and Y co-ordinates.
Thanks
Richard
On 1/25/06, Louie Miranda <lmiranda@gmail.com> wrote:
>
> 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
>