#
# Copyright (C) 1995-2008 by The BRLTTY Developers.
#
#  This file is part of liblouis.
#
#  liblouis is free software: you can redistribute it and/or modify it
#  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.
#
#  liblouis is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#  Lesser General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public
#  License along with liblouis. If not, see
#  <http://www.gnu.org/licenses/>.

# 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].

# generated by ttbtest
punctuation \x2500 2356		BOX DRAWINGS LIGHT HORIZONTAL
punctuation \x2501 2356		BOX DRAWINGS HEAVY HORIZONTAL
punctuation \x2502 12345678		BOX DRAWINGS LIGHT VERTICAL
punctuation \x2503 12345678		BOX DRAWINGS HEAVY VERTICAL
punctuation \x2504 2356		BOX DRAWINGS LIGHT TRIPLE DASH HORIZONTAL
punctuation \x2505 2356		BOX DRAWINGS HEAVY TRIPLE DASH HORIZONTAL
punctuation \x2506 12345678		BOX DRAWINGS LIGHT TRIPLE DASH VERTICAL
punctuation \x2507 12345678		BOX DRAWINGS HEAVY TRIPLE DASH VERTICAL
punctuation \x2508 2356		BOX DRAWINGS LIGHT QUADRUPLE DASH HORIZONTAL
punctuation \x2509 2356		BOX DRAWINGS HEAVY QUADRUPLE DASH HORIZONTAL
punctuation \x250a 12345678		BOX DRAWINGS LIGHT QUADRUPLE DASH VERTICAL
punctuation \x250b 12345678		BOX DRAWINGS HEAVY QUADRUPLE DASH VERTICAL
punctuation \x250c 235678		BOX DRAWINGS LIGHT DOWN AND RIGHT
punctuation \x250d 235678		BOX DRAWINGS DOWN LIGHT AND RIGHT HEAVY
punctuation \x250e 235678		BOX DRAWINGS DOWN HEAVY AND RIGHT LIGHT
punctuation \x250f 235678		BOX DRAWINGS HEAVY DOWN AND RIGHT
punctuation \x2510 235678		BOX DRAWINGS LIGHT DOWN AND LEFT
punctuation \x2511 235678		BOX DRAWINGS DOWN LIGHT AND LEFT HEAVY
punctuation \x2512 235678		BOX DRAWINGS DOWN HEAVY AND LEFT LIGHT
punctuation \x2513 235678		BOX DRAWINGS HEAVY DOWN AND LEFT
punctuation \x2514 123456		BOX DRAWINGS LIGHT UP AND RIGHT
punctuation \x2515 123456		BOX DRAWINGS UP LIGHT AND RIGHT HEAVY
punctuation \x2516 123456		BOX DRAWINGS UP HEAVY AND RIGHT LIGHT
punctuation \x2517 123456		BOX DRAWINGS HEAVY UP AND RIGHT
punctuation \x2518 123456		BOX DRAWINGS LIGHT UP AND LEFT
punctuation \x2519 123456		BOX DRAWINGS UP LIGHT AND LEFT HEAVY
punctuation \x251a 123456		BOX DRAWINGS UP HEAVY AND LEFT LIGHT
punctuation \x251b 123456		BOX DRAWINGS HEAVY UP AND LEFT
punctuation \x251c 12345678		BOX DRAWINGS LIGHT VERTICAL AND RIGHT
punctuation \x251d 12345678		BOX DRAWINGS VERTICAL LIGHT AND RIGHT HEAVY
punctuation \x251e 12345678		BOX DRAWINGS UP HEAVY AND RIGHT DOWN LIGHT
punctuation \x251f 12345678		BOX DRAWINGS DOWN HEAVY AND RIGHT UP LIGHT
punctuation \x2520 12345678		BOX DRAWINGS VERTICAL HEAVY AND RIGHT LIGHT
punctuation \x2521 12345678		BOX DRAWINGS DOWN LIGHT AND RIGHT UP HEAVY
punctuation \x2522 12345678		BOX DRAWINGS UP LIGHT AND RIGHT DOWN HEAVY
punctuation \x2523 12345678		BOX DRAWINGS HEAVY VERTICAL AND RIGHT
punctuation \x2524 12345678		BOX DRAWINGS LIGHT VERTICAL AND LEFT
punctuation \x2525 12345678		BOX DRAWINGS VERTICAL LIGHT AND LEFT HEAVY
punctuation \x2526 12345678		BOX DRAWINGS UP HEAVY AND LEFT DOWN LIGHT
punctuation \x2527 12345678		BOX DRAWINGS DOWN HEAVY AND LEFT UP LIGHT
punctuation \x2528 12345678		BOX DRAWINGS VERTICAL HEAVY AND LEFT LIGHT
punctuation \x2529 12345678		BOX DRAWINGS DOWN LIGHT AND LEFT UP HEAVY
punctuation \x252a 12345678		BOX DRAWINGS UP LIGHT AND LEFT DOWN HEAVY
punctuation \x252b 12345678		BOX DRAWINGS HEAVY VERTICAL AND LEFT
punctuation \x252c 235678		BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
punctuation \x252d 235678		BOX DRAWINGS LEFT HEAVY AND RIGHT DOWN LIGHT
punctuation \x252e 235678		BOX DRAWINGS RIGHT HEAVY AND LEFT DOWN LIGHT
punctuation \x252f 235678		BOX DRAWINGS DOWN LIGHT AND HORIZONTAL HEAVY
punctuation \x2530 235678		BOX DRAWINGS DOWN HEAVY AND HORIZONTAL LIGHT
punctuation \x2531 235678		BOX DRAWINGS RIGHT LIGHT AND LEFT DOWN HEAVY
punctuation \x2532 235678		BOX DRAWINGS LEFT LIGHT AND RIGHT DOWN HEAVY
punctuation \x2533 235678		BOX DRAWINGS HEAVY DOWN AND HORIZONTAL
punctuation \x2534 123456		BOX DRAWINGS LIGHT UP AND HORIZONTAL
punctuation \x2535 123456		BOX DRAWINGS LEFT HEAVY AND RIGHT UP LIGHT
punctuation \x2536 123456		BOX DRAWINGS RIGHT HEAVY AND LEFT UP LIGHT
punctuation \x2537 123456		BOX DRAWINGS UP LIGHT AND HORIZONTAL HEAVY
punctuation \x2538 123456		BOX DRAWINGS UP HEAVY AND HORIZONTAL LIGHT
punctuation \x2539 123456		BOX DRAWINGS RIGHT LIGHT AND LEFT UP HEAVY
punctuation \x253a 123456		BOX DRAWINGS LEFT LIGHT AND RIGHT UP HEAVY
punctuation \x253b 123456		BOX DRAWINGS HEAVY UP AND HORIZONTAL
punctuation \x253c 12345678		BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
punctuation \x253d 12345678		BOX DRAWINGS LEFT HEAVY AND RIGHT VERTICAL LIGHT
punctuation \x253e 12345678		BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT
punctuation \x253f 12345678		BOX DRAWINGS VERTICAL LIGHT AND HORIZONTAL HEAVY
punctuation \x2540 12345678		BOX DRAWINGS UP HEAVY AND DOWN HORIZONTAL LIGHT
punctuation \x2541 12345678		BOX DRAWINGS DOWN HEAVY AND UP HORIZONTAL LIGHT
punctuation \x2542 12345678		BOX DRAWINGS VERTICAL HEAVY AND HORIZONTAL LIGHT
punctuation \x2543 12345678		BOX DRAWINGS LEFT UP HEAVY AND RIGHT DOWN LIGHT
punctuation \x2544 12345678		BOX DRAWINGS RIGHT UP HEAVY AND LEFT DOWN LIGHT
punctuation \x2545 12345678		BOX DRAWINGS LEFT DOWN HEAVY AND RIGHT UP LIGHT
punctuation \x2546 12345678		BOX DRAWINGS RIGHT DOWN HEAVY AND LEFT UP LIGHT
punctuation \x2547 12345678		BOX DRAWINGS DOWN LIGHT AND UP HORIZONTAL HEAVY
punctuation \x2548 12345678		BOX DRAWINGS UP LIGHT AND DOWN HORIZONTAL HEAVY
punctuation \x2549 12345678		BOX DRAWINGS RIGHT LIGHT AND LEFT VERTICAL HEAVY
punctuation \x254a 12345678		BOX DRAWINGS LEFT LIGHT AND RIGHT VERTICAL HEAVY
punctuation \x254b 12345678		BOX DRAWINGS HEAVY VERTICAL AND HORIZONTAL
punctuation \x254c 2356		BOX DRAWINGS LIGHT DOUBLE DASH HORIZONTAL
punctuation \x254d 2356		BOX DRAWINGS HEAVY DOUBLE DASH HORIZONTAL
punctuation \x254e 12345678		BOX DRAWINGS LIGHT DOUBLE DASH VERTICAL
punctuation \x254f 12345678		BOX DRAWINGS HEAVY DOUBLE DASH VERTICAL
punctuation \x2550 2356		BOX DRAWINGS DOUBLE HORIZONTAL
punctuation \x2551 12345678		BOX DRAWINGS DOUBLE VERTICAL
punctuation \x2552 235678		BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
punctuation \x2553 235678		BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
punctuation \x2554 235678		BOX DRAWINGS DOUBLE DOWN AND RIGHT
punctuation \x2555 235678		BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
punctuation \x2556 235678		BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
punctuation \x2557 235678		BOX DRAWINGS DOUBLE DOWN AND LEFT
punctuation \x2558 123456		BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
punctuation \x2559 123456		BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
punctuation \x255a 123456		BOX DRAWINGS DOUBLE UP AND RIGHT
punctuation \x255b 123456		BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
punctuation \x255c 123456		BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
punctuation \x255d 123456		BOX DRAWINGS DOUBLE UP AND LEFT
punctuation \x255e 12345678		BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
punctuation \x255f 12345678		BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
punctuation \x2560 12345678		BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
punctuation \x2561 12345678		BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
punctuation \x2562 12345678		BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
punctuation \x2563 12345678		BOX DRAWINGS DOUBLE VERTICAL AND LEFT
punctuation \x2564 235678		BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
punctuation \x2565 235678		BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
punctuation \x2566 235678		BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
punctuation \x2567 123456		BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
punctuation \x2568 123456		BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
punctuation \x2569 123456		BOX DRAWINGS DOUBLE UP AND HORIZONTAL
punctuation \x256a 12345678		BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
punctuation \x256b 12345678		BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
punctuation \x256c 12345678		BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
punctuation \x256d 235678		BOX DRAWINGS LIGHT ARC DOWN AND RIGHT
punctuation \x256e 235678		BOX DRAWINGS LIGHT ARC DOWN AND LEFT
punctuation \x256f 123456		BOX DRAWINGS LIGHT ARC UP AND LEFT
punctuation \x2570 123456		BOX DRAWINGS LIGHT ARC UP AND RIGHT
punctuation \x2571 47		BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT
punctuation \x2572 18		BOX DRAWINGS LIGHT DIAGONAL UPPER LEFT TO LOWER RIGHT
punctuation \x2573 1478		BOX DRAWINGS LIGHT DIAGONAL CROSS
punctuation \x2574 2356		BOX DRAWINGS LIGHT LEFT
punctuation \x2575 123456		BOX DRAWINGS LIGHT UP
punctuation \x2576 2356		BOX DRAWINGS LIGHT RIGHT
punctuation \x2577 235678		BOX DRAWINGS LIGHT DOWN
punctuation \x2578 2356		BOX DRAWINGS HEAVY LEFT
punctuation \x2579 123456		BOX DRAWINGS HEAVY UP
punctuation \x257a 2356		BOX DRAWINGS HEAVY RIGHT
punctuation \x257b 235678		BOX DRAWINGS HEAVY DOWN
punctuation \x257c 2356		BOX DRAWINGS LIGHT LEFT AND HEAVY RIGHT
punctuation \x257d 12345678		BOX DRAWINGS LIGHT UP AND HEAVY DOWN
punctuation \x257e 2356		BOX DRAWINGS HEAVY LEFT AND LIGHT RIGHT
punctuation \x257f 12345678		BOX DRAWINGS HEAVY UP AND LIGHT DOWN
