The information in this article applies to:
SYMPTOMSYou have difficulty getting the Japanese font handle in Microsoft Win32 Software Development Kit (SDK) for Japanese Windows 95. If you use CreateFontIndirect() to create the font handle, only the English font is selected. You are unable to select Kanji (the main system of writing in Japan) fonts such as MS Mincho and MS Gothic. CAUSEThe lfCharSet field in the LOGFONT structure is not set to "SHIFTJIS_CHARSET". RESOLUTIONSpecify SHIFTJIS_CHARSET as the value for lfCharSet field. STATUSThis behavior is by design. MORE INFORMATION
In Windows 95, Japanese fonts cannot be selected without the lfCharSet field being set to SHIFTJIS_CHARSET. This standard was not enforced in Japanese Windows NT and Japanese Windows 3.1, So an application with lfCharSet field set to a value other than SHIFTJIS_CHARSET might be able to select Japanese fonts under Japanese Windows NT and Japanese Windows version 3.1 using CreateFontIndirect(), but not under Japanese Windows 95.
Additional query words: 4.00 kbprb
Keywords : kbSDKWin32 kbWinOS95 kbDSupport |
Last Reviewed: June 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |