- offset notification messages so that the accents do not get cut off.

This essentially means that the tallest character in a font determines positioning.
This commit is contained in:
Christoph Oelckers 2019-07-12 20:09:15 +02:00
commit 89db16393e
3 changed files with 12 additions and 2 deletions

View file

@ -1061,10 +1061,11 @@ void FNotifyBuffer::Draw()
if (gamestate == GS_FULLCONSOLE || gamestate == GS_DEMOSCREEN/* || menuactive != MENU_Off*/)
return;
line = Top;
FFont* font = generic_ui ? NewSmallFont : AlternativeSmallFont;
line = Top + font->GetDisplacement();
canskip = true;
FFont *font = generic_ui ? NewSmallFont : AlternativeSmallFont;
lineadv = font->GetHeight ();
for (unsigned i = 0; i < Text.Size(); ++ i)