changeset 103908:1e7171d5fd37

(nsfont_draw): Remove code for stippling, which actually does tiling.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 15 Jul 2009 08:24:38 +0000
parents e321cbebcec3
children a855751fb89e
files src/nsfont.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }