]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_to_x_font): Disable composition handling.
authorKenichi Handa <handa@m17n.org>
Mon, 24 Jun 2002 00:36:40 +0000 (00:36 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 24 Jun 2002 00:36:40 +0000 (00:36 +0000)
src/w32fns.c

index 09824ccbd6fff0218b8e6c48bef4dc690e723615..db99065747f7f3780758bf88d61a77aa7bb4c50f 100644 (file)
@@ -6685,6 +6685,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);