Ian-MacDonald/cocos2d-x — pull request #3 by xoorath (2012-07-23 18:29:04+00:00)
Title: Text wrapping support for QNX

Text wrapping support has been added for QNX using skia to measure text.

So far I've verified the following to work:
+ Setting no width still behaves as it used to.
+ Text will wrap on the last ' ', '\t', ' ', or '\n' character.
+ CCLabelTTF content size will be set to the actual rendered string bounds.

Known limitations:
+ No attempt has been made to prevent the rendering of '\n' or '\t' characters.
+ This will make the implementation of text alignment less trivial.

Not tested:
+ The impact of these changes on any other platform. This is tested using BBNDK 2.1.0 only.