Automatic word wraps

Hey,

is there a functionality to avoid automatic word wraps (text ex9 multiline mode) before characters like . ? " " and so on.

Thank you.

Kind regards
Jens

not exactly sure what you mean. please provide a demopatch.

i would like avoid automatically line breaks like this (red quad)

Text.v4p (10.8 kB)

hm, that indeed looks wrong and like a problem of the DrawString() function the text node is using. the code is here:
https://github.com/vvvv/vvvv-sdk/blob/develop/vvvv45/src/nodes/plugins/Layer/DrawText/DrawText.cs#L371

this is where you’d need to start investigating. you may also want to compare this to the dx11 version of the node and see if it has the same issues.

otherwise you could try alternative text-rendering options, see: text rendering

it seems that is a ex9 text problem. in dx11 it looks good

how i can fix it for dx9?

strange, as this is just using a textdrawing functionality provided by windows. so someone would need to go debug there and see what the actual problem is. so if you want to fix it you’ll have to do some debugging starting from the line i marked in my above reply…

hey jens,

is this workaround any help?

Text_ktl.v4p (10.8 kB)