i try to create a pic with text over a php input textarea field
most of all it works but i have a problem with wordwraps
the wordwraps wich the user type in with the enter key works
but the automaticaly wordwrap does not work in every situation
some times it breaks the line after two words - but there is enough space for
the rest of the letters... so normaly it has not to break the line...
can sombody help me?
here is my code:
Code: Select all
convert -size 328x226 -background white -font comic.ttf -pointsize 6 -fill black caption:"This is a sample text. How do you like it?\n\nBut I have a problem with wordwraps..." pic.jpg