crana
September 3, 2012, 4:35am
#1
Hi folks,
I am using cocos2d-x 0.13.0-beta for developing cross-platform game for both ios and android. I used CCLabelTTF fonts but i see that fonts are blurred in iPhone 3gs otherwise no issues in android devices and iPod touch
Here is the code which i used :-
CCLabelTTF* lblItem = CCLabelTTF::labelWithString(“Rank”, “TrebuchetMS-Bold”, 19);
blItem~~>setAnchorPoint);
lblItem~~>setColor( ccc3(247, 197, 62));
lblItem~~>setPosition.size.height*0.5f));
bgLayer~~>addChild(lblItem, 1);
Has i done something wrong here or is there a bug in cocos2d-x ? How to fix it ?
Thanks.
zhangxm
September 3, 2012, 8:09am
#2
Android may not have the font “TrebuchetMS-Bold”.
Then it will use default font, then the font size 19 should not be the same as “TrebuchetMS-Bold”.
crana
September 3, 2012, 9:33am
#3
Sorry Minggo, Fonts looked blurred in iPhone 3GS only . fonts in Android looking nice. I have included TTF fonts in resource folder
zhangxm
September 3, 2012, 10:23am
#4
Does iOS contain this font “TrebuchetMS-Bold”?
I have same problem, and i checked that ios have this font, Please provide a solution.
Thanks
Any Luck? I have the problem on an iPad 3. The font is clear at some places and blurry at some places.