diff options
| author | Jason Rumney | 2008-05-28 16:13:20 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-05-28 16:13:20 +0000 |
| commit | a6e0b7e57248adf3ce9615f8de08dac2ff46f6ee (patch) | |
| tree | 2f3ba952966e3b37c1a45863fd104cd90291ec2f /src | |
| parent | 5b813fe87e42769ab12040b47dbf247034dbccf5 (diff) | |
| download | emacs-a6e0b7e57248adf3ce9615f8de08dac2ff46f6ee.tar.gz emacs-a6e0b7e57248adf3ce9615f8de08dac2ff46f6ee.zip | |
(x_draw_glyph_string): Use clipmask if specified.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32term.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b4a3e74c453..78afe35a8bb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-05-28 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c (x_draw_glyph_string): Use clipmask if specified. | ||
| 4 | |||
| 1 | 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * fileio.c (Fwrite_region): Delay the defaulting to beg&z to after | 7 | * fileio.c (Fwrite_region): Delay the defaulting to beg&z to after |
diff --git a/src/w32term.c b/src/w32term.c index 0fbbf370fa2..a9bbbbe23fc 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -2830,8 +2830,10 @@ x_draw_glyph_string (s) | |||
| 2830 | x_set_glyph_string_clipping (s); | 2830 | x_set_glyph_string_clipping (s); |
| 2831 | relief_drawn_p = 1; | 2831 | relief_drawn_p = 1; |
| 2832 | } | 2832 | } |
| 2833 | else if ((s->prev && s->prev->hl != s->hl && s->left_overhang) | 2833 | else if (!s->clip_head /* draw_glyphs didn't specify a clip mask. */ |
| 2834 | || (s->next && s->next->hl != s->hl && s->right_overhang)) | 2834 | && !s->clip_tail |
| 2835 | && ((s->prev && s->prev->hl != s->hl && s->left_overhang) | ||
| 2836 | || (s->next && s->next->hl != s->hl && s->right_overhang))) | ||
| 2835 | /* We must clip just this glyph. left_overhang part has already | 2837 | /* We must clip just this glyph. left_overhang part has already |
| 2836 | drawn when s->prev was drawn, and right_overhang part will be | 2838 | drawn when s->prev was drawn, and right_overhang part will be |
| 2837 | drawn later when s->next is drawn. */ | 2839 | drawn later when s->next is drawn. */ |