.TH UNIGENWIDTH 1 "2013 Sep 10" .SH NAME unigenwidth \- Generate C code for POSIX wcwidth() and wcswidth() .SH SYNOPSIS .br .B unigenwidth .I unifont.hex combining.txt .SH DESCRIPTION .B unigenwidth reads a collection of glyphs in Unifont's .hex format, then reads a list of combining characters as a hexadecimal list. From these two files, it produces C code to implement the POSIX wcwidth(3) and wcswidth(3) functions. The format of these definitions is based upon POSIX 1003.1-2008 System Interfaces, pages 2251 and 2241, respectively. .SH EXAMPLE .PP Sample usage: .PP .RS unigenwidth unifont.hex combining.txt > wccode.c .RE .SH FILES .TP 15 *.hex files for Unifont glyph data; combining.txt for combining code points. .SH SEE ALSO .BR bdfimplode (1), .BR hex2bdf (1), .BR hex2sfd (1), .BR hexbraille (1), .BR hexdraw (1), .BR hexmerge (1), .BR johab2ucs2 (1), .BR unibdf2hex (1), .BR unifontpic (1), .BR unibmp2hex (1), .BR unicoverage (1), .BR unidup (1), .BR unifontcjhojung (1), .BR unifontksx (1), .BR unigencircles (1), .BR unihex2bmp (1), .BR unihexgen (1), .BR unipagecount (1), .BR uniunmask (1) .SH AUTHOR .B unigenwidth was written by Paul Hardy. .SH LICENSE .B unigenwidth is Copyright \(co 2013 Paul Hardy, and is released under version 2 of the GNU General Public License, or (at your option) a later version. .SH BUGS No known real bugs exist, except that this software does not perform extensive error checking on its input files.