Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uniunmask(1) [debian man page]

UNIUNMASK(1)						      General Commands Manual						      UNIUNMASK(1)

NAME
uniunmask - XOR bits or substitute glyphs in a GNU Unifont file. SYNOPSIS
uniunmask [-iinput_file] [-ooutput_file] DESCRIPTION
uniunmask reads a GNU Unifont .hex file. As it reads the font file, it scans for code points matching entries in the "masks.hex" and "sub- stitutes.hex" files. "masks.hex" and "substitutes.hex" are also in GNU Unifont .hex format, ordered by Unicode code point (the hexadecimal number to the left of the colon on each line). If a code point is encountered from "substitutes.hex", the input code point in the original .hex file is ignored (as is any entry with the same code point in "masks.hex") and the glyph from "substitutes.hex" is written to the output file. Otherwise, if a code point is encountered from "masks.hex", the input glyph in the original .hex file is XORed with the bits in the "masks.hex" entry. The result of this XOR operation is written to the output file. OPTIONS
-i Specify the input file. The default is stdin. -o Specify the output file. The default is stdout. FILES
masks.hex, substitutes.hex, *.hex GNU Unifont font files SEE ALSO
bdfimplode(1), hex2bdf(1), hex2bdf-split(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexmerge(1), johab2ucs2(1), unibmp2hex(1), unicover- age(1), unidup(1), unihex2bmp(1), unipagecount(1) AUTHOR
uniunmask was written by Paul Hardy. LICENSE
uniunmask is Copyright (C) 2007 Paul Hardy, and is released under version 2 of the GNU General Public License, or (at your option) a later version. BUGS
No known real bugs exist, except that this software does not perform extensive error checking on its input files. If they're not in the format of the original GNU Unifont hex file, all bets are off. 2008 Jul 6 UNIUNMASK(1)

Check Out this Related Man Page

base32::hex(n)							  Base32 encoding						    base32::hex(n)

__________________________________________________________________________________________________________________________________________________

NAME
base32::hex - base32 extended hex encoding SYNOPSIS
package require Tcl 8.4 package require base32::core ?0.1? package require base32::hex ?0.1? ::base32::hex::encode string ::base32::hex::decode estring _________________________________________________________________ DESCRIPTION
This package provides commands for encoding and decoding of strings into and out of the extended hex base32 encoding as specified in the RFC 3548bis draft. API
::base32::hex::encode string This command encodes the given string in extended hex base32 and returns the encoded string as its result. The result may be padded with the character = to signal a partial encoding at the end of the input string. ::base32::hex::decode estring This commands takes the estring and decodes it under the assumption that it is a valid extended hex base32 encoded string. The result of the decoding is returned as the result of the command. Note that while the encoder will generate only uppercase characters this decoder accepts input in lowercase as well. The command will always throw an error whenever encountering conditions which signal some type of bogus input, namely if [1] the input contains characters which are not valid output of a extended hex base32 encoder, [2] the length of the input is not a multiple of eight, [3] padding appears not at the end of input, but in the middle, [4] the padding has not of length six, four, three, or one characters, CODE MAP
The code map used to convert 5-bit sequences is shown below, with the numeric id of the bit sequences to the left and the character used to encode it to the right. The important feature of the extended hex mapping is that the first 16 codes map to the digits and hex characters. 0 0 9 9 18 I 27 R 1 1 10 A 19 J 28 S 2 2 11 B 20 K 29 T 3 3 12 C 21 L 30 U 4 4 13 D 22 M 31 V 5 5 14 E 23 N 6 6 15 F 24 O 7 7 16 G 25 P 8 8 17 H 26 Q BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category base32 of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
base32, hex, rfc3548 COPYRIGHT
Copyright (c) Public domain base32 0.1 base32::hex(n)
Man Page