Mercurial > emacs
diff src/xdisp.c @ 91140:6ab6b7928830
(handle_composition_prop): Adjusted for the change of
lispy gstring. Call a function for auto-composition with the
third arg it->window.
(fill_composite_glyph_string): Adjusted for the change of lispy
string.
(x_produce_glyphs): Adjusted for the change of
font_prepare_compositionl.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 01 Dec 2007 02:41:05 +0000 |
parents | 880960b70474 |
children | 5e49a450f62d |
line wrap: on
line diff
--- a/src/xdisp.c Sat Dec 01 02:40:49 2007 +0000 +++ b/src/xdisp.c Sat Dec 01 02:41:05 2007 +0000 @@ -4631,7 +4631,7 @@ it->c = FETCH_CHAR (pos_byte); } - args[3] = font_at (it->c, this_pos, face, it->w, it->string); + args[3] = it->window; } else #endif /* USE_FONT_BACKEND */ @@ -4734,7 +4734,7 @@ ->key_and_value, cmp->hash_index * 2); - it->c = XINT (LGLYPH_CHAR (LGSTRING_GLYPH (lgstring, 0))); + it->c = LGLYPH_CHAR (LGSTRING_GLYPH (lgstring, 0)); } else #endif /* USE_FONT_BACKEND */ @@ -19305,9 +19305,9 @@ Lisp_Object g = LGSTRING_GLYPH (gstring, i); unsigned code; XChar2b * store_pos; - if (NILP (LGLYPH_FROM (g))) + if (NILP (g)) break; - code = XUINT (LGLYPH_CODE (g)); + code = LGLYPH_CODE (g); store_pos = s->char2b + i; STORE_XCHAR2B (store_pos, code >> 8, code & 0xFF); } @@ -21109,7 +21109,7 @@ if (cmp->method == COMPOSITION_WITH_GLYPH_STRING) { if (! cmp->font || cmp->font != font) - font_prepare_composition (cmp); + font_prepare_composition (cmp, it->f); } else #endif /* USE_FONT_BACKEND */