diff options
| author | YAMAMOTO Mitsuharu | 2009-07-15 08:24:38 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2009-07-15 08:24:38 +0000 |
| commit | 652e5d209a60d0f63f2787588e658fb6527d540a (patch) | |
| tree | 14ee13e39f0203b45ab0e2f0e829fb3536a06645 /src | |
| parent | 31a9ab9d42719aedd03d7a3db2dfc9317e01ca87 (diff) | |
| download | emacs-652e5d209a60d0f63f2787588e658fb6527d540a.tar.gz emacs-652e5d209a60d0f63f2787588e658fb6527d540a.zip | |
(nsfont_draw): Remove code for stippling, which actually
does tiling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsfont.m | 4 |
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, | |||
| 1095 | br.size.width -= 2*correction; | 1095 | br.size.width -= 2*correction; |
| 1096 | } | 1096 | } |
| 1097 | 1097 | ||
| 1098 | #if 0 | ||
| 1098 | if (!s->face->stipple) | 1099 | if (!s->face->stipple) |
| 1100 | #endif | ||
| 1099 | [(NS_FACE_BACKGROUND (face) != 0 | 1101 | [(NS_FACE_BACKGROUND (face) != 0 |
| 1100 | ? ns_lookup_indexed_color (NS_FACE_BACKGROUND (face), s->f) | 1102 | ? ns_lookup_indexed_color (NS_FACE_BACKGROUND (face), s->f) |
| 1101 | : FRAME_BACKGROUND_COLOR (s->f)) set]; | 1103 | : FRAME_BACKGROUND_COLOR (s->f)) set]; |
| 1104 | #if 0 /* This is tiling, not stippling. */ | ||
| 1102 | else | 1105 | else |
| 1103 | { | 1106 | { |
| 1104 | struct ns_display_info *dpyinfo = FRAME_NS_DISPLAY_INFO (s->f); | 1107 | struct ns_display_info *dpyinfo = FRAME_NS_DISPLAY_INFO (s->f); |
| 1105 | [[dpyinfo->bitmaps[face->stipple-1].img stippleMask] set]; | 1108 | [[dpyinfo->bitmaps[face->stipple-1].img stippleMask] set]; |
| 1106 | } | 1109 | } |
| 1110 | #endif | ||
| 1107 | NSRectFill (br); | 1111 | NSRectFill (br); |
| 1108 | } | 1112 | } |
| 1109 | 1113 | ||