From: Kenichi Handa Date: Tue, 9 Jul 2002 00:01:28 +0000 (+0000) Subject: (w32_to_x_font): Disable composition handling. X-Git-Tag: emacs-pretest-21.2.91~182 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c507ca3597e0d93eaa8d28e9597753e5dfc88d8a;p=emacs.git (w32_to_x_font): Disable composition handling. --- diff --git a/src/w32fns.c b/src/w32fns.c index 66a5d5796b7..fffb1eb6640 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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);