From 2747eef0e0d0aceb486cfde690397505f3ff809a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 10 Apr 2019 22:32:58 +0200 Subject: [PATCH] - enable Unicode font on cast call. --- src/intermission/intermission.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/intermission/intermission.cpp b/src/intermission/intermission.cpp index 3e03035c1..e681a6ce4 100644 --- a/src/intermission/intermission.cpp +++ b/src/intermission/intermission.cpp @@ -542,9 +542,10 @@ void DIntermissionScreenCast::Drawer () const char *name = mName; if (name != NULL) { + auto font = generic_ui ? NewSmallFont : SmallFont; if (*name == '$') name = GStrings(name+1); - screen->DrawText (SmallFont, CR_UNTRANSLATED, - (SCREENWIDTH - SmallFont->StringWidth (name) * CleanXfac)/2, + screen->DrawText (font, CR_UNTRANSLATED, + (SCREENWIDTH - font->StringWidth (name) * CleanXfac)/2, (SCREENHEIGHT * 180) / 200, name, DTA_CleanNoMove, true, TAG_DONE);