- use a higher resolution console font with better Unicode support.

This commit is contained in:
Christoph Oelckers 2019-03-10 15:55:47 +01:00
commit 0884057ae1
12 changed files with 57352 additions and 109 deletions

View file

@ -1199,12 +1199,16 @@ static void PrintSecretString(const char *string, bool thislevel)
else colstr = TEXTCOLOR_GREEN;
}
}
auto brok = V_BreakLines(ConFont, screen->GetWidth()*95/100, string);
#if 0
auto brok = V_BreakLines(CurrentConsoleFont, screen->GetWidth()*95/100, string);
for (auto &line : brok)
{
Printf("%s%s\n", colstr, line.Text.GetChars());
}
#else
Printf("%s%s\n", string);
#endif
}
}