Skip to content

Commit

Permalink
Fixed vertical cutoff
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjp600 committed Apr 29, 2020
1 parent 443f302 commit 87945c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gxruntime/gxfont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 87945c6

Please sign in to comment.