- Change the log window to use DejaVu Sans instead of Bitstream Vera Sans, because

Silverex's X-Chat comes with the former now. Unfortunately, I can't seem to actually
  set the font when my system default code page is 932, since it wants to use some Kanji-
  compatible font instead. I wonder if I can still use the Unicode RichEdit control with
  Windows 9x. (Does it even matter? Windows 9x users make up less than 0.1% of all visitors
  to zdoom.org these days.)

SVN r2176 (trunk)
This commit is contained in:
Randy Heit 2010-02-24 03:36:42 +00:00
parent a1255c059d
commit ad54cfcf94

View file

@ -476,7 +476,7 @@ LRESULT CALLBACK LConProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
format.yHeight = 200; format.yHeight = 200;
format.crTextColor = RGB(223,223,223); format.crTextColor = RGB(223,223,223);
format.bPitchAndFamily = FF_SWISS | VARIABLE_PITCH; format.bPitchAndFamily = FF_SWISS | VARIABLE_PITCH;
strcpy (format.szFaceName, "Bitstream Vera Sans"); // At least I have it. :p strcpy(format.szFaceName, "DejaVu Sans"); // At least I have it. :p
SendMessage (view, EM_SETCHARFORMAT, SCF_ALL, (LPARAM)&format); SendMessage (view, EM_SETCHARFORMAT, SCF_ALL, (LPARAM)&format);
ConWindow = view; ConWindow = view;