Mercurial > emacs
comparison src/w32fns.c @ 45983:1f9be7a1addc
(w32_to_x_font): Disable composition handling.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 24 Jun 2002 00:36:40 +0000 |
parents | e4d2d8c8186f |
children | 2406cf2da1d4 |
comparison
equal
deleted
inserted
replaced
45982:864289635b41 | 45983:1f9be7a1addc |
---|---|
6683 setup_coding_system (Fcheck_coding_system (Vlocale_coding_system), | 6683 setup_coding_system (Fcheck_coding_system (Vlocale_coding_system), |
6684 &coding); | 6684 &coding); |
6685 coding.src_multibyte = 0; | 6685 coding.src_multibyte = 0; |
6686 coding.dst_multibyte = 1; | 6686 coding.dst_multibyte = 1; |
6687 coding.mode |= CODING_MODE_LAST_BLOCK; | 6687 coding.mode |= CODING_MODE_LAST_BLOCK; |
6688 /* We explicitely disable composition handling because selection | |
6689 data should not contain any composition sequence. */ | |
6690 coding.composing = COMPOSITION_DISABLED; | |
6688 bufsz = decoding_buffer_size (&coding, LF_FACESIZE); | 6691 bufsz = decoding_buffer_size (&coding, LF_FACESIZE); |
6689 | 6692 |
6690 fontname = alloca(sizeof(*fontname) * bufsz); | 6693 fontname = alloca(sizeof(*fontname) * bufsz); |
6691 decode_coding (&coding, lplogfont->lfFaceName, fontname, | 6694 decode_coding (&coding, lplogfont->lfFaceName, fontname, |
6692 strlen(lplogfont->lfFaceName), bufsz - 1); | 6695 strlen(lplogfont->lfFaceName), bufsz - 1); |