cocos2d/cocos2d-x — pull request #3506 by imbahom (2013-08-29 18:04:38+00:00)
Title: Label ttf set dimensions

If i set dimension's width or height to a negative number , it will crash in file CCImage.mm .

unsigned char* data = new unsigned char[(int)(dim.width * dim.height * 4)];