I have been doing some research regarding font size for different iOS resolution device. I have set the font size 32 for iPhone and it appears very small on iPad-HD.Is there any solution? I am using CCLableTTF.
Multiply the font size by the scale factor of the screen.
CCSize winSize = CCDirector::sharedDirector()->getWinSize();float scaleFactor = winSize.height / winSize.width;CCLabelTTF *label = CCLabelTTF::create("1", "Arial", 40 * scaleFactor);
float scaleFactor = CCDirector::sharedDirector()->getContentScaleFactor();
CCLabelTTF label = CCLabelTTF::create("1", "Arial", 40 scaleFactor,CCSize(100* scaleFactor,100* scaleFactor));
An alternative is to use the "CCEGLView::sharedOpenGLView()->setDesignResolutionSize" function to make you app "one size fits all".