cocos2d-x/cocos2dx-win8 — pull request #16 by mingulov (2012-09-20 17:06:15+00:00)
Title: Text drawing - a fix for the case with provided width only

If a width only was provided - it was possible that the text height will be lost, and for the case of 'Center' alignment it means that it would be centered around the 1st line also - just 2nd part of the text will be visible.

Fixed by an additional check to prevent such situation.

(for me it looks like a bug in DirectX if really, but perhaps it is done so due to compatibility issues)