aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Tamm2005-01-24 18:00:43 +0000
committerSteven Tamm2005-01-24 18:00:43 +0000
commit4d904fa0b23037b001f9349a467845c85efb33ba (patch)
tree070e686f23e387568521e080787a3be1ba1b38b6 /src
parent8c2da0fa6ca49777fdcc7266cbdfe7d0e0a024d0 (diff)
downloademacs-4d904fa0b23037b001f9349a467845c85efb33ba.tar.gz
emacs-4d904fa0b23037b001f9349a467845c85efb33ba.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f2678e68ef5..de7978371b5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,27 @@
12005-01-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * dispextern.h (struct glyph_string): New members clip_head and
4 clip_tail.
5
6 * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip
7 region to the area between clip_head and clip_tail.
8 (draw_glyphs): Record the area that need to be actually redrawn to
9 the new variables clip_head and clip_tail when there are
10 overhangs. Set values of these variables to the corresponding
11 members in struct glyph_string. Refine x coordinates for
12 notice_overwritten_cursor using clip_head and clip_tail.
13
14 * macgui.h (STORE_XCHARSETSTRUCT): New macro.
15
16 * macterm.c (mac_compute_glyph_string_overhangs): Implement with
17 QDTextBounds.
18 (x_draw_glyph_string): Don't fill the background of the successor
19 of a glyph with a right overhang if the successor will draw a
20 cursor.
21 (XLoadQueryFont): Obtain font metrics using QDTextBounds.
22 (x_redisplay_interface): Add entry for
23 compute_glyph_string_overhangs.
24
12005-01-24 Kim F. Storm <storm@cua.dk> 252005-01-24 Kim F. Storm <storm@cua.dk>
2 26
3 * window.c (window_scroll_pixel_based): Fix scrolling in the wrong 27 * window.c (window_scroll_pixel_based): Fix scrolling in the wrong