Font not showing proper in iPad [Solved]

Hello…
I am using custom font using CCLabelTTF and in iPad it is not showing proper…like f and g

CCLabelTTF* pLabel = CCLabelTTF::create(" A B C D E F G H I J “,”ABCJuniorPlain", 34);

CCSize size = CCDirector::sharedDirector()>getWinSize;
// position the label on the center of the screen
pLabel
>setPosition( ccp(size.width / 2, size.height/2) );

// add the label as a child to this layer
this~~>addChild;
CCLabelTTF* pLabel2 = CCLabelTTF::create;
// position the label on the center of the screen
pLabel2~~>setPosition( ccp(size.width / 2, size.height*0.30) );

// add the label as a child to this layer
this->addChild(pLabel2, 1);

Has anybody know what should be the problem?


iPad font not proper.png (27.5 KB)

Here is the font file i am using…

Solution :

displayLabel(const char* text,const char* FontStyleFileNAme ,float Fontsize )
{
CCLabelTTF* tempLabel = CCLabelTTF::create(text,FontStyleFileNAme,Fontsize);

CCSize blockSize = CCSizeMake(tempLabel->getDimensions().width, Fontsize*1.5f);

CCLabelTTF *label = CCLabelTTF::create(text, FontStyleFileNAme, Fontsize,
blockSize, kCCTextAlignmentCenter, kCCVerticalTextAlignmentCenter);
}

The key point is need to define blockSize to set for texts dimension…