cocos2d/cocos2d-iphone — pull request #180 by mikezang (2012-03-08 14:33:41+00:00)
Title: A Label Batch Node Font Class - CCLabelBNFont

CCLabelBNFont is a subclass of CCSprite

Features:
- Can be used with other CCSprites in the same CCSpriteBatchNode
- Treats each character like a CCSprite. This means that each individual character can be:
- rotated
- scaled
- translated
- tinted
- chage the opacity
- It can be used as part of a menu item.
- anchorPoint can be used to align the "label"
- Supports AngelCode text format

Limitations:
- All inner characters are using an anchorPoint of (0.5f, 0.5f) and it is not recommend to change it because it might affect the rendering

CCLabelBNFont implements the protocol CCLabelProtocol, like CCLabel and CCLabelAtlas. CCLabelBNFont has the flexibility of CCLabel, the speed of CCLabelAtlas and all the features of CCSprite. If in doubt, use CCLabelBNFont instead of CCLabelBMFont / CCLabelAtlas / CCLabel.