From c507ca3597e0d93eaa8d28e9597753e5dfc88d8a Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 9 Jul 2002 00:01:28 +0000 Subject: [PATCH] (w32_to_x_font): Disable composition handling. --- src/w32fns.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5