Label issue in different language

Hi,

I have created label using cc.LabelTTF.create function. It works fine for “english” language text. When i input “Thai” language text then there is little portion of the text are cut at the top.
Anyone faced the problem? Any solution?

Is it possible to do anything with label texture size?

Regards

I had a problem with my custom font being cut off at the bottom. My solution was :

label.setDimensions(cc.size(label.getDimensions().width, label.getContentSize().height * 1.5));

The 1.5 number can be adjusted to suit. Not sure if this will fix it for you, but it seems the dimensions is what cuts it off.

Hi, Thanks for the responce. I tried with the above solution. But it didn’t work for me.

Hi,

I didn’t find the reason for this issue.
I have added new line for a label at the beginning. Now text are visible completely.

Regards