diff --git a/src/text.cpp b/src/text.cpp index d4e5d0f5..8d88fe2c 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -102,7 +102,7 @@ void Text::TickDraw(float seconds, Scene &scene) { Font *font = Forge::GetFont(data->m_font); vec3 delta(0.0f); - float text_width = length * font->GetSize().x + float text_width = (length - 0.5f) * font->GetSize().x + (length - 1) * data->m_spacing; if (data->m_align == TextAlign::Right)