From: Kenichi Handa Date: Mon, 24 Jun 2002 00:36:40 +0000 (+0000) Subject: (w32_to_x_font): Disable composition handling. X-Git-Tag: ttn-vms-21-2-B4~14474 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=65413122bb33d821c2bbe75641bda1b86b799c83;p=emacs.git (w32_to_x_font): Disable composition handling. --- 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) 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);