if (unicode >= 0x0080 && unicode <= 0x009f)
return true;
- if (unicode >= 0x2500 && unicode <= 0x259f
- && linedraw_offs[unicode - 0x2500] & 15)
+ if (unicode >= 0x2500 && unicode <= 0x259f)
return true;
if (IS_COMPOSE (unicode))
#endif
text_t t = *text++;
- int W = r->TermWin.fwidth , w = (W - 1) / 2;
- int H = r->TermWin.fheight, h = (H - 1) / 2;
- int x0 = x, x1 = x + w, x2 = x + r->TermWin.fwidth ;
- int y0 = y, y1 = y + h, y2 = y + r->TermWin.fheight;
-
- if (0x2500 <= t && t <= 0x259f
- && linedraw_offs[t - 0x2500] & 15)
+ if (0x2500 <= t && t <= 0x259f)
{
uint16_t offs = linedraw_offs[t - 0x2500];
uint32_t *a = linedraw_command + (offs >> 4);
uint32_t *b = a + (offs & 15);
+ int W = r->TermWin.fwidth;
+ int H = r->TermWin.fheight;
+
int x_[16];
int y_[16];
&gcv);
}
-
XFillRectangle (d.display->display, d, TGC, x1, y1, x2 - x1 + 1, y2 - y1 + 1);
if (a)
gcv.fill_style = FillSolid;
XChangeGC (d.display->display, TGC, GCFillStyle, &gcv);
}
-
break;
case 2: // arc
XDrawArc (d.display->display, d, TGC,
0x000009a9, 0x00000aaa, 0x00000bab, 0x0000aa8a, 0x0000909a, 0x0000a0aa, 0x0000b0ba, 0x00009a98, 0x0000aaa8, 0x0000bab8, // 2549
0x00000aaa, 0x0000a989, 0x0000aa8a, 0x0000ab8b, 0x0000909a, 0x0000a0aa, 0x0000b0ba, 0x00009a98, 0x0000aaa8, 0x0000bab8, // 254a
0x000009a9, 0x00000aaa, 0x00000bab, 0x0000a989, 0x0000aa8a, 0x0000ab8b, 0x0000909a, 0x0000a0aa, 0x0000b0ba, 0x00009a98, 0x0000aaa8, 0x0000bab8, // 254b
- // 254c
- // 254d
- // 254e
- // 254f
+ 0x01000a3a, 0x01005a8a, // 254c
+ 0x0100093b, 0x0100598b, // 254d
+ 0x0100a0a3, 0x0100a5a8, // 254e
+ 0x010090b3, 0x010095b8, // 254f
0x000009a9, 0x00000bab, 0x0000a989, 0x0000ab8b, // 2550
0x0000909a, 0x0000b0ba, 0x00009a98, 0x0000bab8, // 2551
0x0000a989, 0x0000ab8b, 0x0000aaa8, // 2552
0x12c4, 0x1306, 0x1366, 0x13c8, 0x1446,
0x14a6, 0x1508, 0x1588, 0x1608, 0x1688,
0x1708, 0x178a, 0x182a, 0x18ca, 0x196a,
- 0x1a0c, 0x1ac0, 0x1ac0, 0x1ac0, 0x1ac0,
- 0x1ac4, 0x1b04, 0x1b43, 0x1b73, 0x1ba4,
- 0x1be3, 0x1c13, 0x1c44, 0x1c83, 0x1cb3,
- 0x1ce4, 0x1d23, 0x1d53, 0x1d84, 0x1dc4,
- 0x1e05, 0x1e56, 0x1eb4, 0x1ef5, 0x1f46,
- 0x1fa5, 0x1ff4, 0x2036, 0x2095, 0x20e4,
- 0x2126, 0x2186, 0x21e6, 0x2248, 0x22c1,
- 0x22d1, 0x22e1, 0x22f1, 0x2301, 0x2311,
- 0x2322, 0x2341, 0x2351, 0x2361, 0x2371,
- 0x2383, 0x23b3, 0x23e3, 0x2413, 0x2444,
- 0x2484, 0x24c4, 0x2504, 0x2541, 0x2551,
- 0x2561, 0x2571, 0x2581, 0x2591, 0x25a1,
- 0x25b1, 0x25c1, 0x25d1, 0x25e1, 0x25f1,
- 0x2601, 0x2611, 0x2621, 0x2631, 0x2641,
- 0x2651, 0x2661, 0x2671, 0x2681, 0x2691,
- 0x26a1, 0x26b1, 0x26c1, 0x26d3, 0x2702,
- 0x2723, 0x2753, 0x2781, 0x2792, 0x27b3,
+ 0x1a0c, 0x1ac2, 0x1ae2, 0x1b02, 0x1b22,
+ 0x1b44, 0x1b84, 0x1bc3, 0x1bf3, 0x1c24,
+ 0x1c63, 0x1c93, 0x1cc4, 0x1d03, 0x1d33,
+ 0x1d64, 0x1da3, 0x1dd3, 0x1e04, 0x1e44,
+ 0x1e85, 0x1ed6, 0x1f34, 0x1f75, 0x1fc6,
+ 0x2025, 0x2074, 0x20b6, 0x2115, 0x2164,
+ 0x21a6, 0x2206, 0x2266, 0x22c8, 0x2341,
+ 0x2351, 0x2361, 0x2371, 0x2381, 0x2391,
+ 0x23a2, 0x23c1, 0x23d1, 0x23e1, 0x23f1,
+ 0x2403, 0x2433, 0x2463, 0x2493, 0x24c4,
+ 0x2504, 0x2544, 0x2584, 0x25c1, 0x25d1,
+ 0x25e1, 0x25f1, 0x2601, 0x2611, 0x2621,
+ 0x2631, 0x2641, 0x2651, 0x2661, 0x2671,
+ 0x2681, 0x2691, 0x26a1, 0x26b1, 0x26c1,
+ 0x26d1, 0x26e1, 0x26f1, 0x2701, 0x2711,
+ 0x2721, 0x2731, 0x2741, 0x2753, 0x2782,
+ 0x27a3, 0x27d3, 0x2801, 0x2812, 0x2833,
};