diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 19:46:56 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 19:46:56 +1000 |
commit | 809744c300d6bc3a4f5cb71a8a67dbad811fe2de (patch) | |
tree | 8eb5d92d3a608aef29ed43ef43c23d20bb35a987 /source/rendering/StarFontTextureGroup.cpp | |
parent | f73cb3ce03c35770605ce83a49906cc4825c00a6 (diff) |
Fix horizontal alignment with font, add new fonts
Diffstat (limited to 'source/rendering/StarFontTextureGroup.cpp')
-rw-r--r-- | source/rendering/StarFontTextureGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rendering/StarFontTextureGroup.cpp b/source/rendering/StarFontTextureGroup.cpp index e59d15c..6a33d32 100644 --- a/source/rendering/StarFontTextureGroup.cpp +++ b/source/rendering/StarFontTextureGroup.cpp @@ -67,7 +67,7 @@ const FontTextureGroup::GlyphTexture& FontTextureGroup::glyphTexture(String::Cha else res.first->second.offset = Vec2F(); - res.first->second.offset[1] += pair.second; + res.first->second.offset += Vec2F(pair.second); res.first->second.texture = m_textureGroup->create(image); } |