diff options
author | Ken Takata <kentkt@csc.jp> | 2024-01-12 18:09:43 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-01-12 18:12:04 +0100 |
commit | d8cb1ddab7b8cb19267a8877d62bbe3a06626fa2 (patch) | |
tree | 231e859cdcc144638abbe5b51925f5c52ada8928 /src/proto/os_mswin.pro | |
parent | dc4c37b9d5130c777b377287b8b38cd24da084cb (diff) |
patch 9.1.0026: win32: Windows default font lackingv9.1.0026
Problem: win32: Windows default font lacking (@clach04)
Solution: Improve default font (Ken Takata)
win32: Improve default font
Currently, Fixedsys is the default font on Windows.
It is not suitable for recent High DPI environments.
* Change the default font to Consolas.
* Allow to change the default font by the translation message. E.g.:
```
msgid "DefaultFontNameForWindows"
msgstr "Courier New"
```
fixes: #12919
closes: #13266
Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/proto/os_mswin.pro')
-rw-r--r-- | src/proto/os_mswin.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/os_mswin.pro b/src/proto/os_mswin.pro index 17a9ba25ee..47310104b8 100644 --- a/src/proto/os_mswin.pro +++ b/src/proto/os_mswin.pro @@ -51,6 +51,7 @@ void serverProcessPendingMessages(void); char *charset_id2name(int id); char *quality_id2name(DWORD id); void gui_mch_expand_font(optexpand_T *args, void *param, int (*add_match)(char_u *val)); +UINT WINAPI vimGetDpiForSystem(void); int get_logfont(LOGFONTW *lf, char_u *name, HDC printer_dc, int verbose); void channel_init_winsock(void); /* vim: set ft=c : */ |