Feature #20164
closedIntegrate automatic line breaks in GIFBUILDER
0%
Description
GIFBUILDER lacks of the possibility to define a maximum rendering width for a given longer text. The text is just rendered in one single line but there is not automatic line break.
The feature request is about the possibility to define a maximum width and a spacing after that the text breaks by defined characters (such as spaces, dots, colons, commas, etc.) and the definition of a spacing between each line.
New configuration properties:
- Subobject "TEXT" has new properties "breakWidth" and "breakSpace"
+ breakWidth (integer) defines the maximum width for an object
overlapping elements will force a line break
+ breakSpace (float) defines a value that is multiplied by the
line height of the current element
Example:
10 = TEXT
10 {
text = Boy, this is a fucking long text that hopefully breaks somehow
fontSize = 13
# define a maximum of 300px in width:
breakWidth = 300
# define a space 1.0*lineHeight on top of each new line
breakSpace = 1.0
}
(issue imported from #M10666)
Files