gdi32: Provide a non-blank font face name for ANSI_FIXED_FONT.
This patch avoids using the wrong font when this stock font is selected, which could be seen by modifying notepad to send WM_SETFONT to the edit control with GetStockObject(ANSI_FIXED_FONT) for wParam.
This commit is contained in:
parent
353035fadd
commit
e2d7da0604
|
@ -89,7 +89,8 @@ static const LOGFONTW OEMFixedFont =
|
|||
|
||||
static const LOGFONTW AnsiFixedFont =
|
||||
{ 12, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
|
||||
0, 0, DEFAULT_QUALITY, FIXED_PITCH | FF_MODERN, {'\0'} };
|
||||
0, 0, DEFAULT_QUALITY, FIXED_PITCH | FF_MODERN,
|
||||
{'C','o','u','r','i','e','r','\0'} };
|
||||
|
||||
static const LOGFONTW AnsiVarFont =
|
||||
{ 12, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
|
||||
|
|
Loading…
Reference in New Issue