Skip to content
Discussion options

You must be logged in to vote

Someone in Discord wrote me to do double the font size then use Scale(0.5f) and now it looks sharper.

TTFConfig ttfConfig("font0.ttf", 84, GlyphCollection::DYNAMIC);
label = Label::createWithTTF(ttfConfig, "", TextHAlignment::LEFT, 2340);

   label->setLineBreakWithoutSpace(false);
   label->setLineHeight(140.0f);
   label->setAnchorPoint(Vec2(0.0f, 1.0f));
   label->setAdditionalKerning(3.0f);
   label->setPosition(Vec2(55, 225));
   label->setScale(0.5f);
   bg->addChild(label);

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Xeaker
Comment options

Comment options

You must be logged in to vote
1 reply
@aismann
Comment options

aismann Feb 5, 2026
Collaborator

Answer selected by aismann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants