unigenwidth man page

unigenwidth — Generate C code for POSIX wcwidth and wcswidth functions

Synopsis

unigenwidth unifont.hex combining.txt

Description

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.

Example

Sample usage:

unigenwidth unifont.hex combining.txt > wccode.c

Files

*.hex files for Unifont glyph data; combining.txt for combining code points.

See Also

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

Author

unigenwidth was written by Paul Hardy.

License

unigenwidth is Copyright © 2013 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 files.

Referenced By

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

2013 Sep 10