Is it possible to create a texture for use with CCLabelAtlas by means of rendering a sprite using CCLabel and a TrueType font?
I think it should work, has anyone tried it before? It would be a cheap and easy way to speed up font rendering without having to create your own bitmap font or trying to find one that fits your game and is free.
Here's what i was thinking in pseudo-code:
CCLabel* font = [CCLabel labelWithString:@"ABCDEFGHIJKLMNOPQRSTUVWXYZ" font:@"Courier" size:13];
CCLabelAtlas* atlas = [CCLabelAtlas atlasWithTexture2D:[font texture] string:@"HELLO ATLAS" width:26*13 height:13 startChar:(int)'A'];
What do you think of that? Could it be added to cocos2d as a feature?