Mercurial > vim
diff src/proto/os_mswin.pro @ 16152:8f4eccaaf2c0 v8.1.1081
patch 8.1.1081: MS-Windows: cannot use some fonts
commit https://github.com/vim/vim/commit/433a5eb9de861dd01ea3b3dfa3b8fe23527cab54
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 30 16:24:16 2019 +0100
patch 8.1.1081: MS-Windows: cannot use some fonts
Problem: MS-Windows: cannot use fonts whose name cannot be represented in
the current code page.
Solution: Use wide font functions. (Ken Takata, closes #4000)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Mar 2019 16:30:04 +0100 |
parents | c4efa095f323 |
children | 7ae2396cef62 |
line wrap: on
line diff
--- a/src/proto/os_mswin.pro +++ b/src/proto/os_mswin.pro @@ -49,6 +49,6 @@ char_u *serverGetReply(HWND server, int void serverProcessPendingMessages(void); char *charset_id2name(int id); char *quality_id2name(DWORD id); -int get_logfont(LOGFONT *lf, char_u *name, HDC printer_dc, int verbose); +int get_logfont(LOGFONTW *lf, char_u *name, HDC printer_dc, int verbose); void channel_init_winsock(void); /* vim: set ft=c : */