Mercurial > vim
diff src/proto/gui_w32.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 | 2b29779475c0 |
children | b3bc3ba07bef |
line wrap: on
line diff
--- a/src/proto/gui_w32.pro +++ b/src/proto/gui_w32.pro @@ -70,7 +70,7 @@ void gui_mch_set_font(GuiFont font); void gui_mch_set_fg_color(guicolor_T color); void gui_mch_set_bg_color(guicolor_T color); void gui_mch_set_sp_color(guicolor_T color); -void im_set_font(LOGFONT *lf); +void im_set_font(LOGFONTW *lf); void im_set_position(int row, int col); void im_set_active(int active); int im_get_status(void);