From: YAMAMOTO Mitsuharu Date: Wed, 15 Jul 2009 08:25:02 +0000 (+0000) Subject: (ns_maybe_dumpglyphs_background): Remove code for stippling, which actually X-Git-Tag: emacs-pretest-23.1.90~2162 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a185697365c96506d632c3c8359ab1367a6378d5;p=emacs.git (ns_maybe_dumpglyphs_background): Remove code for stippling, which actually does tiling. --- diff --git a/src/ChangeLog b/src/ChangeLog index d1d13b32a9a..31103378691 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2009-07-15 YAMAMOTO Mitsuharu + + * nsfont.m (nsfont_draw): Remove code for stippling, which actually + does tiling. + + * nsterm.m (ns_maybe_dumpglyphs_background): Likewise. + 2009-07-14 Kenichi Handa * font.c (font_vconcat_entity_vectors): New function. diff --git a/src/nsterm.m b/src/nsterm.m index 75567de0e57..6457b88eef7 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -2758,15 +2758,19 @@ ns_maybe_dumpglyphs_background (struct glyph_string *s, char force_p) } else face = FACE_FROM_ID (s->f, s->first_glyph->face_id); +#if 0 if (!face->stipple) +#endif [(NS_FACE_BACKGROUND (face) != 0 ? ns_lookup_indexed_color (NS_FACE_BACKGROUND (face), s->f) : FRAME_BACKGROUND_COLOR (s->f)) set]; +#if 0 /* This is tiling, not stippling. */ else { struct ns_display_info *dpyinfo = FRAME_NS_DISPLAY_INFO (s->f); [[dpyinfo->bitmaps[face->stipple-1].img stippleMask] set]; } +#endif if (s->hl != DRAW_CURSOR) {