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>
17 lines
423 B
C
17 lines
423 B
C
/* Copyright (C) 2001 by Alex Kompel <shurikk@pacbell.net> */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
/* font management functions */
|
|
|
|
#ifndef MSWINFont_h
|
|
#define MSWINFont_h
|
|
|
|
#include "winMS.h"
|
|
|
|
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 */
|