hey everybody, i am a newbie in developing cocos2d-x, i got some problem below….
The only one solution i’ve found is to use “CCLabelTTF::labelWithString” to display the label in Traditional Chinese,and the displaying string(Traditional Chinese) must be utf8 format…
On the other way, i use the “CCLabelBMFont::bitmapFontAtlasWithString” to display the Traditional Chinese used by bitmap,first i use “Bitmap Font Generator” to generate the XXX.png and XXX.fnt, if i choose the Latin charset in the XXX.png and there is no error during the cocos2d-x running, but when i use the chinese charset instead, i got the error like “characterDefinition->charID < kCCBMFontMaxChars” when FNTConfigLoadFile executing
- Did XXX.png has the limitation of chars ? how can it work well by this way to display the Chinese?
- Did cocos2d-x can support mutilple bitmap fonts?
- Did any function can support to load “.ttf” in cocos2d-x(except the third part by iOS lib)
- Any other functions can support to display the Traditional/simple Chinese????
thanks for response in advance….
the following appendix is what i’ve made Bitmap font by using “Bitmap Font Generator”
test_0.png (91.1 KB)
test.fnt.zip (6.0 KB)