/usr/bin/hexbraille is in unifont-bin 1:10.0.07-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | #!/usr/bin/perl
#
# Copyright (C) 1998, 2013 Roman Czyborra
# http://czyborra.com/unifont/braille.pl
# 1998-10-30 all wrong from czyborra@cs.tu-berlin.de
# 2003-02-15 correction hint from dominique@unruh.de
# see http://www.egroups.com/group/gnu-unifont/
#
# LICENSE:
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
for ($c = 0; $c < 256; ++ $c)
{
printf (
"28%02X:000000%d%d%d%d00%d%d%d%d00%d%d%d%d00%d%d%d%d0000\n",
$c,
$c & 1 ? 3 : 2, $c & 8 ? 6 : 2,
$c & 1 ? 3 : 0, $c & 8 ? 6 : 0,
$c & 2 ? 3 : 2, $c & 16 ? 6 : 2,
$c & 2 ? 3 : 0, $c & 16 ? 6 : 0,
$c & 4 ? 3 : 2, $c & 32 ? 6 : 2,
$c & 4 ? 3 : 0, $c & 32 ? 6 : 0,
$c & 64 ? 3 : 2, $c & 128 ? 6 : 2,
$c & 64 ? 3 : 0, $c & 128 ? 6 : 0
) or die ("Cannot print to stdout.\n");
}
|