unihexfill - Man Page

Generate range of Unifont 4- or 6-digit hexadecimal glyphs

Synopsis

unihexfill < unassigned-ranges.txt > filler-glyphs.hex

Description

unihexfill is a shell script that reads a list of code point ranges from STDIN and produces filler glyphs of 4- or 6-digit code points on STDOUT.

The format of the input file is a combination of comment lines, single code points on a line, and start/stop pairs of code points on a line separated by a space.  Comment lines start with a semicolon (';') by convention.  Start and stop code points are strings of hexadecimal digits, by convention either four or six digits.

unihexfill invokes unihexgen for each non-comment line in its input file.  If a codepoint is less than or equal to "FFFF" (i.e., 0xFFFF), a four-digit hexadecimal number is encoded within the corresponding Unifont glyph as two digits on each of two rows.  Otherwise, a six-digit hexadecimal number is encoded as three digits on each of two rows.

Options

There are no options.

Files

*.txt as input; *.hex as output.

Example

In the Unifont source package, the file font/plane01/Makefile generates Unicode Plane 1 hexadecimal filler glyphs of unassigned code points within assigned scripts with this single-line command:

../../bin/unihexfill < unassigned-ranges.txt > unassigned.hex

See Also

bdfimplode(1), hex2bdf(1), hex2otf(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexkinya(1), hexmerge(1), johab2ucs2(1), unibdf2hex(1), unibmp2hex(1), unibmpbump(1), unicoverage(1), unidup(1), unifont(5), unifont-viewer(1), unifont1per(1), unifontchojung(1), unifontksx(1), unifontpic(1), unigencircles(1), unigenwidth(1), unihex2bmp(1), unihex2png(1), unihexgen(1), unihexrotate(1), unipagecount(1), unipng2hex(1)

Author

unihexfill was written by Paul Hardy.

License

unihexfill is Copyright © 2014 Paul Hardy.

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.

Bugs

No known real bugs exist, except that this software does not perform extensive error checking on its input file.  Any line that appears to begin with a hexadecimal digit is fed to unihexgen.

Referenced By

bdfimplode(1), hex2bdf(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexkinya(1), hexmerge(1), johab2ucs2(1), unibdf2hex(1), unibmp2hex(1), unibmpbump(1), unicoverage(1), unidup(1), unifont(5), unifont1per(1), unifontchojung(1), unifontksx(1), unifontpic(1), unifont-viewer(1), unigencircles(1), unigenwidth(1), unihex2bmp(1), unihex2png(1), unihexgen(1), unihexrotate(1), unipagecount(1), unipng2hex(1).

2014 Jun 30