###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
#          text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2025 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser General Public License, as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option) any
# later version. Please see the file LICENSE-LGPL for details.
#
# Web Page: http://brltty.app/
#
# This software is maintained by Dave Mielke <dave@mielke.cc>.
###############################################################################

# This BRLTTY text subtable implements a portable representation of the box
# drawing characters.aNo distinction is made between the three types of boxes:
# light, heavy, and double. Characters with no vertical component (horizontal
# edges) are represented by the four middle dots [2356]. Those with a vertical
# component above the center (e.g. bottom corners) add the two top dots [14],
# and those with a vertical component below the center (e.g. top corners) add
# the two bottom dots [78]. This means, for example, that side edges and the
# cross are represented by a full cell [12345678].

# For diagonals within boxes, the top-left and bottom-right dots [18] are used
# to represent the line which descends toward the right, and the top-right and
# bottom-left dots [47] are used to represent the line which ascends toward the
# right. The X is represented by all four of these dots [1478].

glyph \u2500	( 23 56  )  # ⠶ ─ [BOX DRAWINGS LIGHT HORIZONTAL]
glyph \u254C	( 23 56  )  # ⠶ ╌ [BOX DRAWINGS LIGHT DOUBLE DASH HORIZONTAL]
glyph \u2504	( 23 56  )  # ⠶ ┄ [BOX DRAWINGS LIGHT TRIPLE DASH HORIZONTAL]
glyph \u2508	( 23 56  )  # ⠶ ┈ [BOX DRAWINGS LIGHT QUADRUPLE DASH HORIZONTAL]
glyph \u2502	(12345678)  # ⣿ │ [BOX DRAWINGS LIGHT VERTICAL]
glyph \u254E	(12345678)  # ⣿ ╎ [BOX DRAWINGS LIGHT DOUBLE DASH VERTICAL]
glyph \u2506	(12345678)  # ⣿ ┆ [BOX DRAWINGS LIGHT TRIPLE DASH VERTICAL]
glyph \u250A	(12345678)  # ⣿ ┊ [BOX DRAWINGS LIGHT QUADRUPLE DASH VERTICAL]
glyph \u250C	( 23 5678)  # ⣶ ┌ [BOX DRAWINGS LIGHT DOWN AND RIGHT]
glyph \u2510	( 23 5678)  # ⣶ ┐ [BOX DRAWINGS LIGHT DOWN AND LEFT]
glyph \u2514	(123456  )  # ⠿ └ [BOX DRAWINGS LIGHT UP AND RIGHT]
glyph \u2518	(123456  )  # ⠿ ┘ [BOX DRAWINGS LIGHT UP AND LEFT]
glyph \u251C	(12345678)  # ⣿ ├ [BOX DRAWINGS LIGHT VERTICAL AND RIGHT]
glyph \u2524	(12345678)  # ⣿ ┤ [BOX DRAWINGS LIGHT VERTICAL AND LEFT]
glyph \u252C	( 23 5678)  # ⣶ ┬ [BOX DRAWINGS LIGHT DOWN AND HORIZONTAL]
glyph \u2534	(123456  )  # ⠿ ┴ [BOX DRAWINGS LIGHT UP AND HORIZONTAL]
glyph \u253C	(12345678)  # ⣿ ┼ [BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL]

glyph \u2501	( 23 56  )  # ⠶ ━ [BOX DRAWINGS HEAVY HORIZONTAL]
glyph \u254D	( 23 56  )  # ⠶ ╍ [BOX DRAWINGS HEAVY DOUBLE DASH HORIZONTAL]
glyph \u2505	( 23 56  )  # ⠶ ┅ [BOX DRAWINGS HEAVY TRIPLE DASH HORIZONTAL]
glyph \u2509	( 23 56  )  # ⠶ ┉ [BOX DRAWINGS HEAVY QUADRUPLE DASH HORIZONTAL]
glyph \u2503	(12345678)  # ⣿ ┃ [BOX DRAWINGS HEAVY VERTICAL]
glyph \u254F	(12345678)  # ⣿ ╏ [BOX DRAWINGS HEAVY DOUBLE DASH VERTICAL]
glyph \u2507	(12345678)  # ⣿ ┇ [BOX DRAWINGS HEAVY TRIPLE DASH VERTICAL]
glyph \u250B	(12345678)  # ⣿ ┋ [BOX DRAWINGS HEAVY QUADRUPLE DASH VERTICAL]
glyph \u250F	( 23 5678)  # ⣶ ┏ [BOX DRAWINGS HEAVY DOWN AND RIGHT]
glyph \u2513	( 23 5678)  # ⣶ ┓ [BOX DRAWINGS HEAVY DOWN AND LEFT]
glyph \u2517	(123456  )  # ⠿ ┗ [BOX DRAWINGS HEAVY UP AND RIGHT]
glyph \u251B	(123456  )  # ⠿ ┛ [BOX DRAWINGS HEAVY UP AND LEFT]
glyph \u2523	(12345678)  # ⣿ ┣ [BOX DRAWINGS HEAVY VERTICAL AND RIGHT]
glyph \u252B	(12345678)  # ⣿ ┫ [BOX DRAWINGS HEAVY VERTICAL AND LEFT]
glyph \u2533	( 23 5678)  # ⣶ ┳ [BOX DRAWINGS HEAVY DOWN AND HORIZONTAL]
glyph \u253B	(123456  )  # ⠿ ┻ [BOX DRAWINGS HEAVY UP AND HORIZONTAL]
glyph \u254B	(12345678)  # ⣿ ╋ [BOX DRAWINGS HEAVY VERTICAL AND HORIZONTAL]

glyph \u2550	( 23 56  )  # ⠶ ═ [BOX DRAWINGS DOUBLE HORIZONTAL]
glyph \u2551	(12345678)  # ⣿ ║ [BOX DRAWINGS DOUBLE VERTICAL]
glyph \u2554	( 23 5678)  # ⣶ ╔ [BOX DRAWINGS DOUBLE DOWN AND RIGHT]
glyph \u2557	( 23 5678)  # ⣶ ╗ [BOX DRAWINGS DOUBLE DOWN AND LEFT]
glyph \u255A	(123456  )  # ⠿ ╚ [BOX DRAWINGS DOUBLE UP AND RIGHT]
glyph \u255D	(123456  )  # ⠿ ╝ [BOX DRAWINGS DOUBLE UP AND LEFT]
glyph \u2560	(12345678)  # ⣿ ╠ [BOX DRAWINGS DOUBLE VERTICAL AND RIGHT]
glyph \u2563	(12345678)  # ⣿ ╣ [BOX DRAWINGS DOUBLE VERTICAL AND LEFT]
glyph \u2566	( 23 5678)  # ⣶ ╦ [BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL]
glyph \u2569	(123456  )  # ⠿ ╩ [BOX DRAWINGS DOUBLE UP AND HORIZONTAL]
glyph \u256C	(12345678)  # ⣿ ╬ [BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL]

glyph \u250D	( 23 5678)  # ⣶ ┍ [BOX DRAWINGS DOWN LIGHT AND RIGHT HEAVY]
glyph \u250E	( 23 5678)  # ⣶ ┎ [BOX DRAWINGS DOWN HEAVY AND RIGHT LIGHT]
glyph \u2511	( 23 5678)  # ⣶ ┑ [BOX DRAWINGS DOWN LIGHT AND LEFT HEAVY]
glyph \u2512	( 23 5678)  # ⣶ ┒ [BOX DRAWINGS DOWN HEAVY AND LEFT LIGHT]
glyph \u2515	(123456  )  # ⠿ ┕ [BOX DRAWINGS UP LIGHT AND RIGHT HEAVY]
glyph \u2516	(123456  )  # ⠿ ┖ [BOX DRAWINGS UP HEAVY AND RIGHT LIGHT]
glyph \u2519	(123456  )  # ⠿ ┙ [BOX DRAWINGS UP LIGHT AND LEFT HEAVY]
glyph \u251A	(123456  )  # ⠿ ┚ [BOX DRAWINGS UP HEAVY AND LEFT LIGHT]
glyph \u251D	(12345678)  # ⣿ ┝ [BOX DRAWINGS VERTICAL LIGHT AND RIGHT HEAVY]
glyph \u251E	(12345678)  # ⣿ ┞ [BOX DRAWINGS UP HEAVY AND RIGHT DOWN LIGHT]
glyph \u251F	(12345678)  # ⣿ ┟ [BOX DRAWINGS DOWN HEAVY AND RIGHT UP LIGHT]
glyph \u2520	(12345678)  # ⣿ ┠ [BOX DRAWINGS VERTICAL HEAVY AND RIGHT LIGHT]
glyph \u2521	(12345678)  # ⣿ ┡ [BOX DRAWINGS DOWN LIGHT AND RIGHT UP HEAVY]
glyph \u2522	(12345678)  # ⣿ ┢ [BOX DRAWINGS UP LIGHT AND RIGHT DOWN HEAVY]
glyph \u2525	(12345678)  # ⣿ ┥ [BOX DRAWINGS VERTICAL LIGHT AND LEFT HEAVY]
glyph \u2526	(12345678)  # ⣿ ┦ [BOX DRAWINGS UP HEAVY AND LEFT DOWN LIGHT]
glyph \u2527	(12345678)  # ⣿ ┧ [BOX DRAWINGS DOWN HEAVY AND LEFT UP LIGHT]
glyph \u2528	(12345678)  # ⣿ ┨ [BOX DRAWINGS VERTICAL HEAVY AND LEFT LIGHT]
glyph \u2529	(12345678)  # ⣿ ┩ [BOX DRAWINGS DOWN LIGHT AND LEFT UP HEAVY]
glyph \u252A	(12345678)  # ⣿ ┪ [BOX DRAWINGS UP LIGHT AND LEFT DOWN HEAVY]
glyph \u252D	( 23 5678)  # ⣶ ┭ [BOX DRAWINGS LEFT HEAVY AND RIGHT DOWN LIGHT]
glyph \u252E	( 23 5678)  # ⣶ ┮ [BOX DRAWINGS RIGHT HEAVY AND LEFT DOWN LIGHT]
glyph \u252F	( 23 5678)  # ⣶ ┯ [BOX DRAWINGS DOWN LIGHT AND HORIZONTAL HEAVY]
glyph \u2530	( 23 5678)  # ⣶ ┰ [BOX DRAWINGS DOWN HEAVY AND HORIZONTAL LIGHT]
glyph \u2531	( 23 5678)  # ⣶ ┱ [BOX DRAWINGS RIGHT LIGHT AND LEFT DOWN HEAVY]
glyph \u2532	( 23 5678)  # ⣶ ┲ [BOX DRAWINGS LEFT LIGHT AND RIGHT DOWN HEAVY]
glyph \u2535	(123456  )  # ⠿ ┵ [BOX DRAWINGS LEFT HEAVY AND RIGHT UP LIGHT]
glyph \u2536	(123456  )  # ⠿ ┶ [BOX DRAWINGS RIGHT HEAVY AND LEFT UP LIGHT]
glyph \u2537	(123456  )  # ⠿ ┷ [BOX DRAWINGS UP LIGHT AND HORIZONTAL HEAVY]
glyph \u2538	(123456  )  # ⠿ ┸ [BOX DRAWINGS UP HEAVY AND HORIZONTAL LIGHT]
glyph \u2539	(123456  )  # ⠿ ┹ [BOX DRAWINGS RIGHT LIGHT AND LEFT UP HEAVY]
glyph \u253A	(123456  )  # ⠿ ┺ [BOX DRAWINGS LEFT LIGHT AND RIGHT UP HEAVY]
glyph \u253D	(12345678)  # ⣿ ┽ [BOX DRAWINGS LEFT HEAVY AND RIGHT VERTICAL LIGHT]
glyph \u253E	(12345678)  # ⣿ ┾ [BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT]
glyph \u253F	(12345678)  # ⣿ ┿ [BOX DRAWINGS VERTICAL LIGHT AND HORIZONTAL HEAVY]
glyph \u2540	(12345678)  # ⣿ ╀ [BOX DRAWINGS UP HEAVY AND DOWN HORIZONTAL LIGHT]
glyph \u2541	(12345678)  # ⣿ ╁ [BOX DRAWINGS DOWN HEAVY AND UP HORIZONTAL LIGHT]
glyph \u2542	(12345678)  # ⣿ ╂ [BOX DRAWINGS VERTICAL HEAVY AND HORIZONTAL LIGHT]
glyph \u2543	(12345678)  # ⣿ ╃ [BOX DRAWINGS LEFT UP HEAVY AND RIGHT DOWN LIGHT]
glyph \u2544	(12345678)  # ⣿ ╄ [BOX DRAWINGS RIGHT UP HEAVY AND LEFT DOWN LIGHT]
glyph \u2545	(12345678)  # ⣿ ╅ [BOX DRAWINGS LEFT DOWN HEAVY AND RIGHT UP LIGHT]
glyph \u2546	(12345678)  # ⣿ ╆ [BOX DRAWINGS RIGHT DOWN HEAVY AND LEFT UP LIGHT]
glyph \u2547	(12345678)  # ⣿ ╇ [BOX DRAWINGS DOWN LIGHT AND UP HORIZONTAL HEAVY]
glyph \u2548	(12345678)  # ⣿ ╈ [BOX DRAWINGS UP LIGHT AND DOWN HORIZONTAL HEAVY]
glyph \u2549	(12345678)  # ⣿ ╉ [BOX DRAWINGS RIGHT LIGHT AND LEFT VERTICAL HEAVY]
glyph \u254A	(12345678)  # ⣿ ╊ [BOX DRAWINGS LEFT LIGHT AND RIGHT VERTICAL HEAVY]

glyph \u2552	( 23 5678)  # ⣶ ╒ [BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE]
glyph \u2553	( 23 5678)  # ⣶ ╓ [BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE]
glyph \u2555	( 23 5678)  # ⣶ ╕ [BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE]
glyph \u2556	( 23 5678)  # ⣶ ╖ [BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE]
glyph \u2558	(123456  )  # ⠿ ╘ [BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE]
glyph \u2559	(123456  )  # ⠿ ╙ [BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE]
glyph \u255B	(123456  )  # ⠿ ╛ [BOX DRAWINGS UP SINGLE AND LEFT DOUBLE]
glyph \u255C	(123456  )  # ⠿ ╜ [BOX DRAWINGS UP DOUBLE AND LEFT SINGLE]
glyph \u255E	(12345678)  # ⣿ ╞ [BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE]
glyph \u255F	(12345678)  # ⣿ ╟ [BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE]
glyph \u2561	(12345678)  # ⣿ ╡ [BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE]
glyph \u2562	(12345678)  # ⣿ ╢ [BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE]
glyph \u2564	( 23 5678)  # ⣶ ╤ [BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE]
glyph \u2565	( 23 5678)  # ⣶ ╥ [BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE]
glyph \u2567	(123456  )  # ⠿ ╧ [BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE]
glyph \u2568	(123456  )  # ⠿ ╨ [BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE]
glyph \u256A	(12345678)  # ⣿ ╪ [BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE]
glyph \u256B	(12345678)  # ⣿ ╫ [BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE]

glyph \u256D	( 23 5678)  # ⣶ ╭ [BOX DRAWINGS LIGHT ARC DOWN AND RIGHT]
glyph \u256E	( 23 5678)  # ⣶ ╮ [BOX DRAWINGS LIGHT ARC DOWN AND LEFT]
glyph \u256F	(123456  )  # ⠿ ╯ [BOX DRAWINGS LIGHT ARC UP AND LEFT]
glyph \u2570	(123456  )  # ⠿ ╰ [BOX DRAWINGS LIGHT ARC UP AND RIGHT]

glyph \u2574	( 23 56  )  # ⠶ ╴ [BOX DRAWINGS LIGHT LEFT]
glyph \u2575	(123456  )  # ⠿ ╵ [BOX DRAWINGS LIGHT UP]
glyph \u2576	( 23 56  )  # ⠶ ╶ [BOX DRAWINGS LIGHT RIGHT]
glyph \u2577	( 23 5678)  # ⣶ ╷ [BOX DRAWINGS LIGHT DOWN]
glyph \u2578	( 23 56  )  # ⠶ ╸ [BOX DRAWINGS HEAVY LEFT]
glyph \u2579	(123456  )  # ⠿ ╹ [BOX DRAWINGS HEAVY UP]
glyph \u257A	( 23 56  )  # ⠶ ╺ [BOX DRAWINGS HEAVY RIGHT]
glyph \u257B	( 23 5678)  # ⣶ ╻ [BOX DRAWINGS HEAVY DOWN]

glyph \u257C	( 23 56  )  # ⠶ ╼ [BOX DRAWINGS LIGHT LEFT AND HEAVY RIGHT]
glyph \u257D	(12345678)  # ⣿ ╽ [BOX DRAWINGS LIGHT UP AND HEAVY DOWN]
glyph \u257E	( 23 56  )  # ⠶ ╾ [BOX DRAWINGS HEAVY LEFT AND LIGHT RIGHT]
glyph \u257F	(12345678)  # ⣿ ╿ [BOX DRAWINGS HEAVY UP AND LIGHT DOWN]

glyph \u2571	(   4  7 )  # ⡈ ╱ [BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT]
glyph \u2572	(1      8)  # ⢁ ╲ [BOX DRAWINGS LIGHT DIAGONAL UPPER LEFT TO LOWER RIGHT]
glyph \u2573	(1  4  78)  # ⣉ ╳ [BOX DRAWINGS LIGHT DIAGONAL CROSS]
