Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1fa3a200
Commit
1fa3a200
authored
Nov 20, 2001
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Vw32_system_coding_system): Remove.
(w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system.
parent
effcd99a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
src/w32fns.c
src/w32fns.c
+2
-9
No files found.
src/w32fns.c
View file @
1fa3a200
...
...
@@ -177,8 +177,6 @@ Lisp_Object Vx_pixel_size_width_font_regexp;
/* Alist of bdf fonts and the files that define them. */
Lisp_Object Vw32_bdf_filename_alist;
Lisp_Object Vw32_system_coding_system;
/* A flag to control whether fonts are matched strictly or not. */
int w32_strict_fontnames;
...
...
@@ -6242,7 +6240,7 @@ w32_to_x_font (lplogfont, lpxstr, len, specific_charset)
else
fonttype = "unknown";
setup_coding_system (Fcheck_coding_system (V
w32_system
_coding_system),
setup_coding_system (Fcheck_coding_system (V
locale
_coding_system),
&coding);
coding.src_multibyte = 0;
coding.dst_multibyte = 1;
...
...
@@ -6374,7 +6372,7 @@ x_to_w32_font (lpxstr, lplogfont)
unsigned char *buf;
setup_coding_system
(Fcheck_coding_system (V
w32_system
_coding_system), &coding);
(Fcheck_coding_system (V
locale
_coding_system), &coding);
coding.src_multibyte = 1;
coding.dst_multibyte = 1;
bufsize = encoding_buffer_size (&coding, strlen (name));
...
...
@@ -14493,11 +14491,6 @@ Set this to nil to get the old behaviour for repainting; this should
only be necessary if the default setting causes problems. */);
w32_strict_painting = 1;
DEFVAR_LISP ("w32-system-coding-system",
&Vw32_system_coding_system,
doc: /* Coding system used by Windows system functions, such as for font names. */);
Vw32_system_coding_system = Qnil;
DEFVAR_LISP ("w32-charset-info-alist",
&Vw32_charset_info_alist,
doc: /* Alist linking Emacs character sets to Windows fonts and codepages.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment