BUG: ChooseFont() Sample Text Displays DBCS Chars IncorrectlyLast reviewed: January 15, 1998Article ID: Q145756 |
4.00
WINDOWS
kbprg kbbuglist
The information in this article applies to:
SYMPTOMSThe Font dialog's Sample text window displays DBCS characters incorrectly for the MSP-Gothic typeface font if the user selects a font style other than Regular.
CAUSEIf the CHOOSEFONT structure's Flags field contains the CF_NOSCRIPTSEL flag when the ChooseFont() API is called and the user subsequently selects the MPS Gothic font in the Font list box and then sets the font style to a style other than regular, the DBCS text is displayed incorrectly. The CF_NOSCRIPTSEL flag is used in Windows 95 only and specifies that there should be no selection in the character set (Script) combo box. Applications use this flag to support multiple character set selections. This flag is set on input only. When it is set, the script combo box is disabled and the lfCharSet member of the LOGFONT structure is set to DEFAULT_CHARSET.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe occurance of this problem does not depend on any fonts or size of font. Therefore, the problem may occur while the sample text is displaying other fonts.
|
Additional reference words: 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |