# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1247646278 0 # Node ID 1e7171d5fd37da93917cfc3a4bbf9d1c2f9e19f8 # Parent e321cbebcec3f7fc358172c2497e38ef1ffac908 (nsfont_draw): Remove code for stippling, which actually does tiling. diff -r e321cbebcec3 -r 1e7171d5fd37 src/nsfont.m --- a/src/nsfont.m Wed Jul 15 03:28:05 2009 +0000 +++ b/src/nsfont.m Wed Jul 15 08:24:38 2009 +0000 @@ -1095,15 +1095,19 @@ br.size.width -= 2*correction; } +#if 0 if (!s->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 NSRectFill (br); }