… | |
… | |
474 | case '\t': |
474 | case '\t': |
475 | case ZERO_WIDTH_CHAR: |
475 | case ZERO_WIDTH_CHAR: |
476 | case NOCHAR: |
476 | case NOCHAR: |
477 | break; |
477 | break; |
478 | |
478 | |
|
|
479 | /* |
|
|
480 | * If the base font does not support variation selectors, treat them as ZWC. |
|
|
481 | * a point could be made to do this for all wcwidth == 0 characters, but I |
|
|
482 | * decided against that until more data is available. |
|
|
483 | */ |
|
|
484 | case 0xfe00: case 0xfe01: case 0xfe02: case 0xfe03: case 0xfe04: case 0xfe05: case 0xfe06: case 0xfe07: |
|
|
485 | case 0xfe08: case 0xfe09: case 0xfe0a: case 0xfe0b: case 0xfe0c: case 0xfe0d: case 0xfe0e: case 0xfe0f: |
|
|
486 | break; |
|
|
487 | |
479 | default: |
488 | default: |
480 | XDrawRectangle (disp, d, gc, x + 2, y + 2, |
489 | XDrawRectangle (disp, d, gc, x + 2, y + 2, |
481 | fwidth - 4, term->fheight - 4); |
490 | fwidth - 4, term->fheight - 4); |
482 | } |
491 | } |
483 | |
492 | |