Commit e2d7da06 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

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.
parent 353035fa
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment