1.26, Font
1. Cclabelatlas Font
Example code:
Cclabelatlas*LBsocre4 = Cclabelatlas::Create(ccstring::Createwithformat("%d", c) getcstring (), " Labelatlasimg.png " , 24, 32, ' 0 '
  lbsocre4 -> setanchorpoint (CCP (0,0.5));
lbsocre4 -> setposition Span style= "font-family: ' Consolas '; Color: #000000; Font-size:10.5pt "> (CCP ( 200 200
  lbsocre4 " Span style= "font-family: ' Consolas '; Color: #000000; Font-size:10.5pt ">-> setscale (0.7f);
LBsocre4 -setString(ccstring::Createwithformat("%D", c)getcstring());
  this -> addchild ( lbsocre4 " Span style= "font-family: ' Consolas '; Color: #000000; Font-size:10.5pt ">,5);
2. Cclabelttf Font
Example code:
Cclabelttf*Scorelab = Cclabelttf::Create("0", "Arial", +);
scorelab-setposition(CCP (b));
Scorelab -Setanchorpoint(CCP (0, 1));
Scorelab-SetColor (CCC3 (255,255,0));
Scorelab -setString(ccstring::Createwithformat("%D", c)getcstring());
This, addChild(Scorelab, 2); >
How to use cocos2dx Cclabelatlas fonts and Cclabelttf fonts