summaryrefslogtreecommitdiffstats
path: root/src/render/Font.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-07 21:56:22 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-07 21:56:22 +0100
commit64049f0f81c22b321a790636fca502e9d267623c (patch)
treeb4ba1f055f6eddeb24674497600a0ed54b9bfdcb /src/render/Font.cpp
parentAdd texts (diff)
downloadre3-64049f0f81c22b321a790636fca502e9d267623c.tar
re3-64049f0f81c22b321a790636fca502e9d267623c.tar.gz
re3-64049f0f81c22b321a790636fca502e9d267623c.tar.bz2
re3-64049f0f81c22b321a790636fca502e9d267623c.tar.lz
re3-64049f0f81c22b321a790636fca502e9d267623c.tar.xz
re3-64049f0f81c22b321a790636fca502e9d267623c.tar.zst
re3-64049f0f81c22b321a790636fca502e9d267623c.zip
Diffstat (limited to 'src/render/Font.cpp')
-rw-r--r--src/render/Font.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index 5a6ff94f..9b022394 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -390,9 +390,9 @@ CFont::PrintChar(float x, float y, wchar c)
x + 32.0f * RenderState.scaleX * 1.0f,
y + 33.0f * RenderState.scaleY * 0.5f),
RenderState.color,
- xoff / 16.0f, yoff / 12.8f,
- (xoff + 1.0f) / 16.0f - 0.001f, yoff / 12.8f - 0.017f,
- xoff / 16.0f, (yoff + 1.0f) / 12.8f,
+ xoff / 16.0f, yoff / 12.8f + 0.0021f,
+ (xoff + 1.0f) / 16.0f - 0.001f, yoff / 12.8f + 0.0021f,
+ xoff / 16.0f, (yoff + 1.0f) / 12.8f - 0.017f,
(xoff + 1.0f) / 16.0f - 0.001f, (yoff + 1.0f) / 12.8f - 0.017f);
}
} else