mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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;
|
const char *name = mName;
|
||||||
if (name != NULL)
|
if (name != NULL)
|
||||||
{
|
{
|
||||||
|
auto font = generic_ui ? NewSmallFont : SmallFont;
|
||||||
if (*name == '$') name = GStrings(name+1);
|
if (*name == '$') name = GStrings(name+1);
|
||||||
screen->DrawText (SmallFont, CR_UNTRANSLATED,
|
screen->DrawText (font, CR_UNTRANSLATED,
|
||||||
(SCREENWIDTH - SmallFont->StringWidth (name) * CleanXfac)/2,
|
(SCREENWIDTH - font->StringWidth (name) * CleanXfac)/2,
|
||||||
(SCREENHEIGHT * 180) / 200,
|
(SCREENHEIGHT * 180) / 200,
|
||||||
name,
|
name,
|
||||||
DTA_CleanNoMove, true, TAG_DONE);
|
DTA_CleanNoMove, true, TAG_DONE);
|
||||||
|
|
Loading…
Reference in a new issue