changeset 90544:fa17948a98df

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Mon, 24 Jul 2006 04:45:44 +0000
parents 4a80a8a200ba
children 7536a4fa3a3b
files lisp/ChangeLog.unicode src/ChangeLog.unicode
diffstat 2 files changed, 42 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <handa@m17n.org>
+
+	* composite.el (auto-compose-current-font): New variable.
+	(auto-compose-chars): New arg FONT-OBJECT.
+
 2006-07-20  Kenichi Handa  <handa@m17n.org>
 
 	* international/characters.el: Modify category-table and
--- 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  <handa@m17n.org>
+
+	* 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  <handa@m17n.org>
 
 	* xterm.c (x_draw_composite_glyph_string_foreground): Check if