From 87945c656c9eae666b931e4f0fe6d305252132d1 Mon Sep 17 00:00:00 2001 From: Juan Pablo Arce Date: Tue, 28 Apr 2020 21:32:06 -0300 Subject: [PATCH] Fixed vertical cutoff --- gxruntime/gxfont.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gxruntime/gxfont.cpp b/gxruntime/gxfont.cpp index b16042d4..7ff2151c 100644 --- a/gxruntime/gxfont.cpp +++ b/gxruntime/gxfont.cpp @@ -41,8 +41,8 @@ gxFont::gxFont(FT_Library ftLibrary, gxGraphics *gfx, const std::string& fn, int glyphRenderOffset = -gd.drawOffset[1]; } - tCanvasHeight = (glyphHeight*16)/10; - glyphRenderBaseline = (glyphHeight*2/10); + tCanvasHeight = (glyphHeight*20)/10; + glyphRenderBaseline = (glyphHeight*3/10); glyphRenderOffset += glyphRenderBaseline; tempCanvas = nullptr;