I'm trying to figure out how I can put text including line-break from a textarea on an image generated using GD2 library. I tried \n and
, nothing...
It's a stupid question but I can't find this information on the web.
Thanks!
I'm trying to figure out how I can put text including line-break from a textarea on an image generated using GD2 library. I tried \n and
, nothing...
It's a stupid question but I can't find this information on the web.
Thanks!
GD doesn't support text formatting of that sort. You'll have to manually break the string into multiple lines,and place each one seperately.