Text rendered through GIFBUILDER can now span several lines if it exceeds a certain width. New properties breakWidth and breakSpace make this possible.
Example:
…
10 = IMAGE
10 {
file = GIFBUILDER
file {
XY = [20.w]+5,[20.lineHeight]*0.3+[20.h]
transparentBackground = 1
# Render regular text
20 = TEXT
20 {
text = This is a long text that will hopefully break automatically...
breakWidth = 250
breakSpace = 1.0
offset = 0,[20.lineHeight]
niceText = 0
}
}
}
…
More info:
RFC Feature #10666: Integrate automatic line breaks in GIFBUILDER
http://bugs.typo3.org/view.php?id=10666