sizeWithFont for Android

Hi all,

I am porting a cocos2d iOS game to cocos2d-x Android and the cocos2d version has this method sizeWithFont, but I do not have this method to use in Android. So what method can I use to replace sizeWithFont when using Cocos2d-x for Android