]> granicus.if.org Git - nethack/commit
NH 3.4.0 fonts on Win2K / Japanese (from <Someone>)
authornethack.allison <nethack.allison>
Sun, 3 Nov 2002 15:16:22 +0000 (15:16 +0000)
committernethack.allison <nethack.allison>
Sun, 3 Nov 2002 15:16:22 +0000 (15:16 +0000)
commit2b31ea2c96b3eb9bae153c53ff5bff2d41675eae
treef5634c8cda1e7120b5bf40c63d334df4a87e4d7d
parentd82393d891920e0695ace45886ccf230225ea02f
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>
win/win32/mhfont.c
win/win32/mhfont.h
win/win32/mhmap.c