From 65413122bb33d821c2bbe75641bda1b86b799c83 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 24 Jun 2002 00:36:40 +0000 Subject: (w32_to_x_font): Disable composition handling. --- src/w32fns.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/w32fns.c') diff --git a/src/w32fns.c b/src/w32fns.c index 09824ccbd6..db99065747 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); -- cgit v1.2.3