Win32TTY: Fix using a console font with wide glyphs
Added support to detect when the current console font has glyphs that are too wide and will cause rendering errors in the console. If detected, we warn the user and change the code page to 437 and the font to Consolas. At exit, if we had changed the font and code page then we will restore to the original font and code page.
This commit is contained in:
committed by
Pasi Kallinen
parent
3d2e59ecec
commit
6322aec829
@@ -5114,6 +5114,7 @@ boolean setinitial, setfromfile;
|
||||
assign_graphics(ROGUESET);
|
||||
} else if (!rogueflag)
|
||||
assign_graphics(PRIMARY);
|
||||
preference_update("symset");
|
||||
need_redraw = TRUE;
|
||||
return TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user