… | |
… | |
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | *---------------------------------------------------------------------*/ |
20 | *---------------------------------------------------------------------*/ |
21 | |
21 | |
22 | #include "../config.h" |
22 | #include "../config.h" |
23 | #include "rxvt.h" |
23 | #include "rxvt.h" |
|
|
24 | #include "rxvtlib.h" |
24 | #include "rxvtutil.h" |
25 | #include "rxvtutil.h" |
25 | #include "rxvtfont.h" |
26 | #include "rxvtfont.h" |
26 | |
27 | |
27 | #include <cstdlib> |
28 | #include <cstdlib> |
28 | #include <wchar.h> |
29 | #include <wchar.h> |
… | |
… | |
306 | return false; |
307 | return false; |
307 | |
308 | |
308 | if (unicode <= 0x009f) |
309 | if (unicode <= 0x009f) |
309 | return true; |
310 | return true; |
310 | |
311 | |
311 | if (unicode >= 0x2500 && unicode <= 0x259f) |
312 | if (unicode >= 0x2500 && unicode <= 0x259f && |
|
|
313 | ! OPTION_R (Opt_skipBuiltinGlyphs)) |
312 | return true; |
314 | return true; |
313 | |
315 | |
314 | if (IS_COMPOSE (unicode)) |
316 | if (IS_COMPOSE (unicode)) |
315 | return true; |
317 | return true; |
316 | |
318 | |
… | |
… | |
352 | ; |
354 | ; |
353 | |
355 | |
354 | int width = text - tp; |
356 | int width = text - tp; |
355 | int fwidth = r->fwidth * width; |
357 | int fwidth = r->fwidth * width; |
356 | |
358 | |
357 | if (0x2500 <= t && t <= 0x259f) |
359 | if (0x2500 <= t && t <= 0x259f && |
|
|
360 | ! OPTION_R (Opt_skipBuiltinGlyphs)) |
358 | { |
361 | { |
359 | uint16_t offs = linedraw_offs[t - 0x2500]; |
362 | uint16_t offs = linedraw_offs[t - 0x2500]; |
360 | uint32_t *a = linedraw_command + (offs >> 4); |
363 | uint32_t *a = linedraw_command + (offs >> 4); |
361 | uint32_t *b = a + (offs & 15); |
364 | uint32_t *b = a + (offs & 15); |
362 | |
365 | |