2D Toolkit Forum
2D Toolkit => Support => Topic started by: haxx0rz on February 05, 2013, 07:00:08 pm
-
I can't make my tk2dTextMesh word wrap work in Unity. I have already set it as small as 3 in the editor window, and it still never wraps itself. I do notice an arrow on the scene, but whenever I pull it, it disappears, and the Word Wrap disables itself.
How do I fix this problem?
And I see this link is being posted for help, problem is, it is broken.
http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=131.0;attach=302
-
What font are you using? Is it a new font you created or one distributed with the toolkit?
What version of tk2d are you using?
The link is in the private support forum - you will need to register your copy to get access. Details here:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,34.0.html
-
I am using the default font included in the tk2d Test Assets (name is GradientFont).
As for the version, I am using Version 1.8 final + patch 3.
-
Looks like you've uncovered a bug - or rather an asset which hasn't been updated in a while. To fix it, select the Gradient Font object in Unity (TK2DROOT/tk2d_demo/demogradientfont/GradientFont), and click Commit.
The wrapping should work correctly now.
It will work correctly if you create a new font.
I've fixed the built in asset for the next version.
-
Alright thanks, it works well now :)
-
I am using the latest version, and have this same bug going on as well. Super weird - word wrap has no effect, and dragging the white arrow just disappears..
-
The same gradient font? Have you tried committing the font?
-
No, a different font I made before. This is an older project that was using a previous version of 2dTK. I upgraded the framework and the word wrap doesn't work now.
-
Have you committed the font with the latest version ? If it still doesn't work, can you send me a simple repro project please?
-
Can't believe I didn't even try that. Works fine now, thanks!
-
This bug cropped up again - I did nothing out of the ordinary. All I did was switch the font to a new font that I added, and now the word wrap doesn't work at all (and disappears when I try grabbing the handle). I'm using the latest version of 2dTK and Unity.
-
Hey, can you get me a repro for this? I haven't seen or heard of any recent issues with this.