Bad text wrapping

Logged this as bug 12661.

I have some text boxes (which I am creating via newRetinaText or newText) with a width and height so that the text will wrap.

The problem I am having is that a certain text string is breaking badly. The string in question is A+ – I get the A at the end of one line and the + on the next line.

[lua]display.newText(“A+ A+ A+ A+ A+ A+ A+ A+ A+ A+ A+ A+ A+ A+ A+ A+ A+”, 0, 0, 550, 100, native.systemFont, 40)[/lua]

I don’t think it should wrap where there is not a space.

It doesn’t do it if the text is “A-”. Only seems to happen with a +. Tried other symbols like # and * and it didn’t break in the middle with those. [import]uid: 17827 topic_id: 22943 reply_id: 322943[/import]

Will see what I can find out about this for you :slight_smile: [import]uid: 52491 topic_id: 22943 reply_id: 91659[/import]

Thanks, Peach. Just seemed very odd. [import]uid: 17827 topic_id: 22943 reply_id: 91668[/import]