]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_to_x_font): Disable composition handling.
authorKenichi Handa <handa@m17n.org>
Tue, 9 Jul 2002 00:01:28 +0000 (00:01 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 9 Jul 2002 00:01:28 +0000 (00:01 +0000)
src/w32fns.c

index 66a5d5796b73234fc3da8c5caa35cd5d72e08509..fffb1eb664013c825ff066cf3d42a5d3b8ffddde 100644 (file)
@@ -6349,6 +6349,9 @@ w32_to_x_font (lplogfont, lpxstr, len, specific_charset)
   coding.src_multibyte = 0;
   coding.dst_multibyte = 1;
   coding.mode |= CODING_MODE_LAST_BLOCK;
+  /* We explicitely disable composition handling because selection
+     data should not contain any composition sequence.  */
+  coding.composing = COMPOSITION_DISABLED;
   bufsz = decoding_buffer_size (&coding, LF_FACESIZE);
 
   fontname = alloca(sizeof(*fontname) * bufsz);