# HG changeset patch # User Kenichi Handa # Date 1153716344 0 # Node ID fa17948a98df6d9b3f762380b6a6097d4a23f246 # Parent 4a80a8a200baa655d04c37ad7bc0b9f8db13a373 *** empty log message *** diff -r 4a80a8a200ba -r fa17948a98df lisp/ChangeLog.unicode --- a/lisp/ChangeLog.unicode Mon Jul 24 04:45:35 2006 +0000 +++ b/lisp/ChangeLog.unicode Mon Jul 24 04:45:44 2006 +0000 @@ -1,3 +1,8 @@ +2006-07-24 Kenichi Handa + + * composite.el (auto-compose-current-font): New variable. + (auto-compose-chars): New arg FONT-OBJECT. + 2006-07-20 Kenichi Handa * international/characters.el: Modify category-table and diff -r 4a80a8a200ba -r fa17948a98df src/ChangeLog.unicode --- a/src/ChangeLog.unicode Mon Jul 24 04:45:35 2006 +0000 +++ b/src/ChangeLog.unicode Mon Jul 24 04:45:44 2006 +0000 @@ -1,3 +1,40 @@ +2006-07-24 Kenichi Handa + + * font.h (LGLYPH_FROM, LGLYPH_TO, LGLYPH_SET_FROM) + (LGLYPH_SET_TO): New macros. + (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WADJUST): Check if adjustment + element of G is vector or not. + (font_at): Extern it. + + * font.c: Include window.h. + (font_lispy_object): New function. + (font_prepare_composition): Check LGLYPH_FORM (g) to detect the + end of valid glyph. + (font_close_object): Fix getting (struct font *). + (font_at): New function. + (Ffont_get): If FONT is a font-object, get entity from it. + (Ffont_make_gstring): Initialize elements of glyphs with nil. + (Ffont_fill_gstring): Use macro LGSTRING_XXX and LGLYPH_XXX. Fix + range check. + (Ffont_at): New function. + (syms_of_font): Defsubr Sfont_at. + + * xdisp.c (it_props): Move the entry for Qauto_composed to just + before the entry for Qcompostion. + (handle_auto_composed_prop): Call auto-composition-function with 4 + args. + (handle_composition_prop) [USE_FONT_BACKEND]: Set it->face_id from + the font in gstring. + (fill_composite_glyph_string) [USE_FONT_BACKEND]: Check + LGLYPH_FORM (g) to detect the end of valid glyph. + (x_produce_glyphs) [USE_FONT_BACKEND]: Don't update it->face_id if + we are composing with gstring. + + * xterm.c (x_draw_composite_glyph_string_foreground) [USE_FONT_BACKEND]: + Check if adjustment is vector or not. + + * Makefile.in (font.o): Make it depends on window.h. + 2006-07-24 Kenichi Handa * xterm.c (x_draw_composite_glyph_string_foreground): Check if