stil / gd-text

PHP class making it easy to type text on pictures. Supports multi-lined text, horizontal and vertical alignment.
401 stars 130 forks source link

Wrapping words longer than box width #3

Closed vvoody- closed 1 month ago

vvoody- commented 9 years ago

Words longer than box will be wrapped and ended by $wordSeparator (which can be empy string or multiple characters long). Long words will be wrapped multiple times if needed. Remaining part of word will be added to start of next line (except explicit lines).