mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- enable Unicode font on cast call.
This commit is contained in:
parent
9fddc38030
commit
2747eef0e0
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue