people.
I have slight problem with GD2 text on image. I have everything working and now i try to add text on image that can wrap within image.
For example i have image with width 200px and large block of text. If you use imagettftext() text goes beyond borders of image and only partial text actually is visible. I have tried to use Zend’s text wrap function, but it’s not always producing accurate results here(not saying it don’t work, only not in this case).
Is there some dedicated GD2 method to set some width box where text should fit and if it hits border of that box it should continue in new line?
Not sure its what you looking for but, you can try this: