annotate src/proto/hardcopy.pro @ 34124:2630432cb6b1 v9.1.0026

patch 9.1.0026: win32: Windows default font lacking Commit: https://github.com/vim/vim/commit/d8cb1ddab7b8cb19267a8877d62bbe3a06626fa2 Author: Ken Takata <kentkt@csc.jp> Date: Fri Jan 12 18:09:43 2024 +0100 patch 9.1.0026: win32: Windows default font lacking 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>
author Christian Brabandt <cb@256bit.org>
date Fri, 12 Jan 2024 18:15:05 +0100
parents ca6bc7c04163
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
441
45069ab54ef9 updated for version 7.0115
vimboss
parents:
diff changeset
1 /* hardcopy.c */
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
2 char *parse_printoptions(optset_T *args);
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
3 char *parse_printmbfont(optset_T *args);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
4 int prt_header_height(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
5 int prt_use_number(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
6 int prt_get_unit(int idx);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
7 void ex_hardcopy(exarg_T *eap);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
8 void mch_print_cleanup(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
9 int mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
10 int mch_print_begin(prt_settings_T *psettings);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
11 void mch_print_end(prt_settings_T *psettings);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
12 int mch_print_end_page(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
13 int mch_print_begin_page(char_u *str);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
14 int mch_print_blank_page(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
15 void mch_print_start_line(int margin, int page_line);
14736
3e9b24eac417 patch 8.1.0380: "make proto" doesn't work well
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
16 int mch_print_text_out(char_u *textp, int len);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
17 void mch_print_set_font(int iBold, int iItalic, int iUnderline);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
18 void mch_print_set_bg(long_u bgcol);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 1119
diff changeset
19 void mch_print_set_fg(long_u fgcol);
441
45069ab54ef9 updated for version 7.0115
vimboss
parents:
diff changeset
20 /* vim: set ft=c : */