SetFnt will throw an exception if the font parser doesn't return something valid. NSAssert replaced so any environment can handle the exception. The problem is a bit further down the setter: createFontChars can crash with a SIGSEGV when the config is not valid.
SetFnt will throw an exception if the font parser doesn't return something valid.
NSAssert replaced so any environment can handle the exception.
The problem is a bit further down the setter: createFontChars can crash with a SIGSEGV when the config is not valid.

codepython/cocos2d-objc,liduanw/cocos2d-objc,richardgroves/cocos2d-iphone,oxeron/cocos2d-objc,yaoxiaoyong/cocos2d-objc,dnessorga/cocos2d-objc,liduanw/cocos2d-objc,tambarskjelve/cocos2d-objc,yaoxiaoyong/cocos2d-objc,SuPair/cocos2d-objc,codepython/cocos2d-objc,knight2010/cocos2d-objc,SuPair/cocos2d-objc,tambarskjelve/cocos2d-objc,dnessorga/cocos2d-objc,yaoxiaoyong/cocos2d-objc,dnessorga/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,tambarskjelve/cocos2d-objc,nader-eloshaiker/cocos2d-objc,dnessorga/cocos2d-objc,seem-sky/cocos2d-swift,lpeancovschi/cocos2d-objc,jason-puck/cocos2d-iphone,nader-eloshaiker/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,tambarskjelve/cocos2d-objc,zaneLou/cocos2d-objc,DNESS/cocos2d-objc,tambarskjelve/cocos2d-objc,DNESS/cocos2d-objc,savysoda/cocos2d-objc,zaneLou/cocos2d-objc,cocos2d/cocos2d-objc,zaneLou/cocos2d-objc,liduanw/cocos2d-objc,cocos2d/cocos2d-objc,nader-eloshaiker/cocos2d-objc,SuPair/cocos2d-objc,savysoda/cocos2d-objc,seem-sky/cocos2d-swift,yaoxiaoyong/cocos2d-objc,DNESS/cocos2d-objc,yaoxiaoyong/cocos2d-objc,codepython/cocos2d-objc,knight2010/cocos2d-objc,cogddo/cocos2d-objc,codepython/cocos2d-objc,SuPair/cocos2d-objc,SuPair/cocos2d-objc,savysoda/cocos2d-objc,oxeron/cocos2d-objc,finthamoussu/cocos2d-objc,cogddo/cocos2d-objc,richardgroves/cocos2d-iphone,seem-sky/cocos2d-swift,knight2010/cocos2d-objc,lpeancovschi/cocos2d-objc,cogddo/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,savysoda/cocos2d-objc,DNESS/cocos2d-objc,liduanw/cocos2d-objc,jason-puck/cocos2d-iphone,seem-sky/cocos2d-swift,lpeancovschi/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,liduanw/cocos2d-objc,finthamoussu/cocos2d-objc,zaneLou/cocos2d-objc,DNESS/cocos2d-objc,cogddo/cocos2d-objc,lpeancovschi/cocos2d-objc,richardgroves/cocos2d-iphone,jason-puck/cocos2d-iphone,finthamoussu/cocos2d-objc,finthamoussu/cocos2d-objc,nader-eloshaiker/cocos2d-objc,knight2010/cocos2d-objc,dnessorga/cocos2d-objc