changeset 97829:99a0b68bcc29

(ns_draw_glyph_string): Adjusted for the change of struct glyph_string.
author Kenichi Handa <handa@m17n.org>
date Fri, 29 Aug 2008 07:56:59 +0000
parents 5a501b4092a0
children 62a07e57ef40
files src/nsterm.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/nsterm.m	Fri Aug 29 07:56:40 2008 +0000
+++ b/src/nsterm.m	Fri Aug 29 07:56:59 2008 +0000
@@ -3024,7 +3024,8 @@
       n = ns_get_glyph_string_clip_rect (s, r);
       ns_focus (s->f, r, n);
 
-      if (s->for_overlaps || s->gidx > 0)
+      if (s->for_overlaps || (s->cmp_from > 0
+			      && ! s->first_glyph->u.cmp.automatic))
         s->background_filled_p = 1;
       else      /* 1 */
         ns_maybe_dumpglyphs_background