diff options
author | Kenichi Handa <[email protected]> | 2002-06-24 00:36:40 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2002-06-24 00:36:40 +0000 |
commit | 65413122bb33d821c2bbe75641bda1b86b799c83 (patch) | |
tree | d7daaf554b031503960420171563554e70ecda8b /src/w32fns.c | |
parent | ee826e00e3f073d19da6932e35939dc070d0d127 (diff) |
(w32_to_x_font): Disable composition handling.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |