1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Reduce space between lines with the little font

This commit is contained in:
Mathieu Schroeter 2022-01-14 23:26:32 +01:00
parent 806645251d
commit b8e2eae480
No known key found for this signature in database
GPG Key ID: 8B9145A5FA9DA8A8

View File

@ -280,7 +280,7 @@ DrawTextRect (
Sint32 itl;
if (font == FONTLITTLE)
itl = DIMLITTLEY;
itl = DIMLITTLEY - 2;
else
itl = DIMTEXTY;
@ -334,7 +334,7 @@ DrawTextCenter (CPixmap * pPixmap, Point pos, const char * pText, Sint32 font)
auto isRightReading = IsRightReading ();
if (font == FONTLITTLE)
itl = DIMLITTLEY;
itl = DIMLITTLEY - 2;
else
itl = DIMTEXTY;
@ -378,7 +378,7 @@ GetTextHeight (char * pText, Sint32 font, Sint32 part)
Sint32 h = 0;
if (font == FONTLITTLE)
itl = DIMLITTLEY;
itl = DIMLITTLEY - 2;
else
itl = DIMTEXTY;