我使用下面的代碼自定義字體
MenuItemFont* supportMenuItem = MenuItemFont::create("Contact us for support",
CC_CALLBACK_1(TempLogoLayer::supportMenuClicked, this));
supportMenuItem->setPosition(Vec2(100,100));
supportMenuItem->setFontName("Arial");
supportMenuItem->setFontSize(16.0);
Menu *buttonsMenu = CCMenu::create(supportMenuItem, NULL);
buttonsMenu->setPosition(Vec2(0.0, 0.0));
this->addChild(buttonsMenu, 1)
創建菜單項,但該菜單項沒有采取字體