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

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

 



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@xxxxxxxxx> 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
>

[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