NH 3.4.0 fonts on Win2K / Japanese (from <Someone>)
Here is one more patch (see attachment). It does TranslateCharsetInfo to map codepage to a character set. I am not sure if it will help though. Japanese Windows is using codepage 932 and I don't think IBMgraphics will work too well in this codepage. AFAIK, there is no way in win32 to force arbitrary codepage for a font (CP 437 in case of Nethack). That means IBMgraphics is unlikely to work if the system locale is set to something other than US or Western Europe (CP 437 & 850). -<Someone>
This commit is contained in:
@@ -11,5 +11,6 @@
|
||||
HGDIOBJ mswin_get_font(int win_type, int attr, HDC hdc, BOOL replace);
|
||||
void mswin_init_splashfonts(HWND hWnd);
|
||||
void mswin_destroy_splashfonts(void);
|
||||
UINT mswin_charset();
|
||||
|
||||
#endif /* MSWINFont_h */
|
||||
|
||||
Reference in New Issue
Block a user