diff --git a/source/graphics/TextRenderer.cpp b/source/graphics/TextRenderer.cpp index 0eb333db83..d7cbe879f2 100644 --- a/source/graphics/TextRenderer.cpp +++ b/source/graphics/TextRenderer.cpp @@ -279,8 +279,8 @@ void CTextRenderer::Render( for (std::list::iterator runit = batch.runs.begin(); runit != batch.runs.end(); ++runit) { SBatchRun& run = *runit; - float x{run.x}; - float y{run.y}; + float x{std::ceil(run.x)}; + float y{std::ceil(run.y)}; for (size_t i = 0; i < run.text->size(); ++i) { const CFont::GlyphData* g = batch.font->GetGlyph((*run.text)[i]);