cocos2d/cocos2d-iphone — pull request #669 by NickyWeber (2014-04-01 11:48:42+00:00)
Title: 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.

Consumers can handle errors now gracefully.