I have been upgrading my old bitmap fonts with the new Label and TTF fonts but the way the anchor point and alignment works with this new label does not make sense for me.
This example code in TestCPP makes me think this Label should be in the center of the window but it clearly is not, is my understanding of this correct?
auto size = Director::getInstance()->getWinSize();
// Adding "啊" letter at the end of string to make VS2012 happy, otherwise VS will generate errors
// like "Error 3 error C2146: syntax error : missing ')' before identifier 'label'";
auto label = Label::createWithTTF("美好的一天啊", "fonts/wt021.ttf", 55, size.width, TextHAlignment::CENTER, GlyphCollection::CUSTOM, "美好的一天啊");
label->setPosition(Point(size.width / 2, size.height /2));