- use a higher resolution console font with better Unicode support.
This commit is contained in:
parent
f1d931517d
commit
0884057ae1
12 changed files with 57352 additions and 109 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue