Page 1 of 1
Text 2D node does not align properly with trailing spaces
Posted: 29 Nov 2016, 22:39
by robertwinter
The Text2D node does not properly justify text if there are trailing spaces on a line and the Extended Layout is set to Monospace All Characters. It seems to automatically truncate the trailing spaces. Leading spaces are treated as expected.
This worked properly in V4.
Re: Text 2D node does not align properly with trailing space
Posted: 30 Nov 2016, 15:55
by Karol
Hi!
Do you have a small demo scene so that we exactly know what you expect?
Cheers
Karol
Re: Text 2D node does not align properly with trailing space
Posted: 01 Dec 2016, 17:57
by robertwinter
I have sent a sample scene to support.
I see now that the new Text Layout engine in V5 is what is causing the issue. It apparently trims trailing space now. Not sure why that is done automatically and not left up to the user. I was forced to rebuild my entire project in V4 once I found this problem as there is no workaround in V5.
http://www.ventuz.com/support/help/late ... youtEngine
Re: Text 2D node does not align properly with trailing space
Posted: 01 Dec 2016, 19:55
by robertwinter
Upon further investigation, I'm calling this a bug once again. Trailing spaces are NOT removed if Monospace is set to default. They are removed if Monospace is set to AllCharacters or DigitsOnly.
Re: Text 2D node does not align properly with trailing space
Posted: 02 Dec 2016, 16:08
by Karol
Hi Robert!
You are right! This is different compared to V4.
We fixed it for V5.2.2.
Sorry for your trouble.
Best Regards
Karol