cc.LabelTTF: spacing between characters

402 views Asked by At

Is there a way to change a space between characters? Some ttf font strings look very compressed.

The maximum closest thing I've managed to find is cc.FontDefinition But it doesn't look like it contains anything specific I need.

1

There are 1 answers

3
Cenkisabi On

As far as I know there is no method to change space between characters but you can change letters position via accessing it.

label.getLetter(index);

returns the character as a sprite. And then you can set its position.