Commit 652e5d20 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(nsfont_draw): Remove code for stippling, which actually

does tiling.
parent 31a9ab9d
......@@ -1095,15 +1095,19 @@ WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */
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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment