@Alwyn wrote:
I'm creating labels with custom ttf font.But it is appearing cut at the bottom.Here is the code which I'm using to create the label-
Label *label = Label::createWithTTF("someText", "fonts/digital-7.ttf", 56);
label->setColor(Color3b::BLUE);
label->setHorizontalAlignment(cocos2d::TextHAlignment::CENTER);
label->setVerticalAlignment(cocos2d::TextVAlignment::CENTER);The part of the text is appearing cut at the bottom.What could be the reason for this?
Posts: 1
Participants: 1