aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-06-24 00:36:40 +0000
committerKenichi Handa2002-06-24 00:36:40 +0000
commit65413122bb33d821c2bbe75641bda1b86b799c83 (patch)
treed7daaf554b031503960420171563554e70ecda8b /src
parentee826e00e3f073d19da6932e35939dc070d0d127 (diff)
downloademacs-65413122bb33d821c2bbe75641bda1b86b799c83.tar.gz
emacs-65413122bb33d821c2bbe75641bda1b86b799c83.zip
(w32_to_x_font): Disable composition handling.
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 09824ccbd6f..db99065747f 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -6685,6 +6685,9 @@ w32_to_x_font (lplogfont, lpxstr, len, specific_charset)
6685 coding.src_multibyte = 0; 6685 coding.src_multibyte = 0;
6686 coding.dst_multibyte = 1; 6686 coding.dst_multibyte = 1;
6687 coding.mode |= CODING_MODE_LAST_BLOCK; 6687 coding.mode |= CODING_MODE_LAST_BLOCK;
6688 /* We explicitely disable composition handling because selection
6689 data should not contain any composition sequence. */
6690 coding.composing = COMPOSITION_DISABLED;
6688 bufsz = decoding_buffer_size (&coding, LF_FACESIZE); 6691 bufsz = decoding_buffer_size (&coding, LF_FACESIZE);
6689 6692
6690 fontname = alloca(sizeof(*fontname) * bufsz); 6693 fontname = alloca(sizeof(*fontname) * bufsz);