diff --git a/core/2d/Label.cpp b/core/2d/Label.cpp index 7b5db255da9a..ff0f42e12c74 100644 --- a/core/2d/Label.cpp +++ b/core/2d/Label.cpp @@ -1597,7 +1597,9 @@ void Label::createSpriteForSystemFont(const FontDefinition& fontDef) _textSprite->setCameraMask(getCameraMask()); _textSprite->setGlobalZOrder(getGlobalZOrder()); _textSprite->setAnchorPoint(Vec2::ANCHOR_BOTTOM_LEFT); - this->setContentSize(_textSprite->getContentSize()); + auto& s = _textSprite->getContentSize(); + _textSprite->setPosition(Vec2((int)s.x % 2 == 0 ? 0 : 0.5, (int)s.y % 2 == 0 ? 0 : 0.5)); + this->setContentSize(s); texture->release(); if (_blendFuncDirty) {