summaryrefslogtreecommitdiff
path: root/src/nsfont.m
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2009-07-15 08:24:38 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2009-07-15 08:24:38 +0000
commit652e5d209a60d0f63f2787588e658fb6527d540a (patch)
tree14ee13e39f0203b45ab0e2f0e829fb3536a06645 /src/nsfont.m
parent31a9ab9d42719aedd03d7a3db2dfc9317e01ca87 (diff)
downloademacs-652e5d209a60d0f63f2787588e658fb6527d540a.tar.gz
(nsfont_draw): Remove code for stippling, which actually
does tiling.
Diffstat (limited to 'src/nsfont.m')
-rw-r--r--src/nsfont.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nsfont.m b/src/nsfont.m
index 7241af3048c..5a1154bf5b0 100644
--- a/src/nsfont.m
+++ b/src/nsfont.m
@@ -1095,15 +1095,19 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
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);
}