unihexfill < unassigned-ranges.txt > filler-glyphs.hex
DESCRIPTIONunihexfill 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.
OPTIONSThere are no options.
FILES*.txt as input; *.hex as output.
EXAMPLEIn 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
AUTHORunihexfill was written by Paul Hardy.
LICENSEunihexfill 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.
BUGSNo 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.