I made a CCLabelTTF object in one of my custom layers.
myLabel = CCLabelTTF::create( "Something", CCSizeMake( 300, 96 ), kCCTextAlignmentCenter, "Arial Rounded MT Bold", 48.0f );
Works perfectly fine in the simulator and an iPhone device. But on the iPad, it doesn't work. I've added the font in the resources folder and in the Info.plist file but it still doesn't work.
So I tried to run the HelloWorld layer ( same project ). It has a CCLabelTTF with a Thonburi font. Worked fine on the iPad. But when I used Thonburi in my own layer, it didn't work! Why would it not be able to show a text with a Thonburi font in my own layer when it can in the HelloWorld layer?
The difference between the two CCLabelTTF objects are:
- The 
HelloWorldversion is a local variable while in my layer it is a member variable. - The 
HelloWorldversion usedCCLabelTTF::create( text, font, size )while in my layer I usedCCLabelTTF::create( text, dimension, alignment, font, size )