# HG changeset patch # User Steven Tamm # Date 1106589643 0 # Node ID b1adddb0ff3240be39061a1cc14cdaa00fa9f5d7 # Parent d4cb255b034d9f6fec6fad8da0b4264ed2b87b9f * dispextern.h (struct glyph_string): New members clip_head and clip_tail. * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip region to the area between clip_head and clip_tail. (draw_glyphs): Record the area that need to be actually redrawn to the new variables clip_head and clip_tail when there are overhangs. Set values of these variables to the corresponding members in struct glyph_string. Refine x coordinates for notice_overwritten_cursor using clip_head and clip_tail. * macgui.h (STORE_XCHARSETSTRUCT): New macro. * macterm.c (mac_compute_glyph_string_overhangs): Implement with QDTextBounds. (x_draw_glyph_string): Don't fill the background of the successor of a glyph with a right overhang if the successor will draw a cursor. (XLoadQueryFont): Obtain font metrics using QDTextBounds. (x_redisplay_interface): Add entry for compute_glyph_string_overhangs. diff -r d4cb255b034d -r b1adddb0ff32 src/ChangeLog --- a/src/ChangeLog Mon Jan 24 17:59:36 2005 +0000 +++ b/src/ChangeLog Mon Jan 24 18:00:43 2005 +0000 @@ -1,3 +1,27 @@ +2005-01-24 YAMAMOTO Mitsuharu + + * dispextern.h (struct glyph_string): New members clip_head and + clip_tail. + + * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip + region to the area between clip_head and clip_tail. + (draw_glyphs): Record the area that need to be actually redrawn to + the new variables clip_head and clip_tail when there are + overhangs. Set values of these variables to the corresponding + members in struct glyph_string. Refine x coordinates for + notice_overwritten_cursor using clip_head and clip_tail. + + * macgui.h (STORE_XCHARSETSTRUCT): New macro. + + * macterm.c (mac_compute_glyph_string_overhangs): Implement with + QDTextBounds. + (x_draw_glyph_string): Don't fill the background of the successor + of a glyph with a right overhang if the successor will draw a + cursor. + (XLoadQueryFont): Obtain font metrics using QDTextBounds. + (x_redisplay_interface): Add entry for + compute_glyph_string_overhangs. + 2005-01-24 Kim F. Storm * window.c (window_scroll_pixel_based): Fix scrolling in the wrong