diff src/nsterm.m @ 111235:24c75a5f002a

Implement various display methods for glyphless characters.
author Kenichi Handa <handa@m17n.org>
date Fri, 29 Oct 2010 09:50:13 +0900
parents b8fde5ef9e14
children 4afa0b625189
line wrap: on
line diff
--- a/src/nsterm.m	Thu Oct 28 19:57:59 2010 +0900
+++ b/src/nsterm.m	Fri Oct 29 09:50:13 2010 +0900
@@ -2983,6 +2983,22 @@
       ns_unfocus (s->f);
       break;
 
+    case GLYPHLESS_GLYPH:
+      n = ns_get_glyph_string_clip_rect (s, r);
+      ns_focus (s->f, r, n);
+
+      if (s->for_overlaps || (s->cmp_from > 0
+			      && ! s->first_glyph->u.cmp.automatic))
+        s->background_filled_p = 1;
+      else
+        ns_maybe_dumpglyphs_background
+          (s, s->first_glyph->type == COMPOSITE_GLYPH);
+      /* ... */ 
+      /* Not yet implemented.  */
+      /* ... */ 
+      ns_unfocus (s->f);
+      break;
+
     default:
       abort ();
     }