[vte/wip/mosaic: 8/8] draw: Implement U+1FBAF
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/mosaic: 8/8] draw: Implement U+1FBAF
- Date: Thu, 14 Nov 2019 22:10:12 +0000 (UTC)
commit e8605ba9df82553f6a435034a5c669f3dab77f0c
Author: Christian Persch <chpe src gnome org>
Date: Thu Nov 14 23:09:22 2019 +0100
draw: Implement U+1FBAF
doc/boxes.txt | 5 +++++
src/vtedraw.cc | 7 +++++++
2 files changed, 12 insertions(+)
---
diff --git a/doc/boxes.txt b/doc/boxes.txt
index c3275d98..f7c03dd6 100644
--- a/doc/boxes.txt
+++ b/doc/boxes.txt
@@ -111,6 +111,11 @@ Mixed width, starting, ending and changing width mid-character.
╽ ╿ ╺╾╴
╹ ╵
+Single line with vertical lines crossing
+ ║ ┃ │ │ │ ┃ ║
+─╫─╂─┼─🮯─┼─╂─╫─
+ ║ ┃ │ │ │ ┃ ║
+
Rounded.
╭─╮
│ │
diff --git a/src/vtedraw.cc b/src/vtedraw.cc
index 2a10c4e9..2d28e48b 100644
--- a/src/vtedraw.cc
+++ b/src/vtedraw.cc
@@ -1248,6 +1248,13 @@ _vte_draw_terminal_draw_graphic(struct _vte_draw *draw,
switch (c) {
/* Box Drawing */
+#ifdef WITH_UNICODE_NEXT
+ case 0x1fbaf: /* box drawings light horizontal with vertical stroke */
+ RECTANGLE(cr, x + left_half - light_line_width / 2, y,
+ light_line_width, height, 1, 3, 0, 1, 1, 2);
+ c = 0x2500;
+ [[fallthrough]];
+#endif
case 0x2500: /* box drawings light horizontal */
case 0x2501: /* box drawings heavy horizontal */
case 0x2502: /* box drawings light vertical */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]