cocos2d/cocos2d-x — pull request #2006 by DarraghCoy (2013-02-20 02:33:25+00:00)
Title: Add error logging for iOS when a font fails to load during text rendering

Make CCImage on iOS log an error message when an attempt is made to render text with a font which could not be loaded. Print an error message to the console and the name of the font which failed to load (in addition to current logic of loading a default replacement font) so that developers are alerted to the issue.