1UNIGENWIDTH(1)              General Commands Manual             UNIGENWIDTH(1)
2
3
4

NAME

6       unigenwidth - Generate C code for POSIX wcwidth and wcswidth functions
7

SYNOPSIS

9       unigenwidth unifont.hex combining.txt > wccode.c
10

DESCRIPTION

12       unigenwidth reads a collection of glyphs in Unifont's .hex format, then
13       reads a list of combining characters as a hexadecimal list.  From these
14       two  files,  it  produces  C code to implement the POSIX wcwidth(3) and
15       wcswidth(3) functions.  The format of these definitions is  based  upon
16       POSIX 1003.1-2008 System Interfaces, pages 2251 and 2241, respectively.
17

EXAMPLE

19       Sample usage:
20
21              unigenwidth unifont.hex combining.txt > wccode.c
22

FILES

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

SEE ALSO

28       bdfimplode(1),  hex2bdf(1),  hex2sfd(1),   hexbraille(1),   hexdraw(1),
29       hexkinya(1),  hexmerge(1), johab2ucs2(1), unibdf2hex(1), unibmp2hex(1),
30       unibmpbump(1),   unicoverage(1),   unidup(1),   unifont(5),    unifont-
31       viewer(1),  unifont1per(1),  unifontchojung(1), unifontksx(1), unifont‐
32       pic(1), unigencircles(1), unihex2bmp(1), unihex2png(1),  unihexfill(1),
33       unihexgen(1), unihexrotate(1), unipagecount(1), unipng2hex(1)
34

AUTHOR

36       unigenwidth was written by Paul Hardy.
37

LICENSE

39       unigenwidth is Copyright © 2013 Paul Hardy.
40
41       This program is free software; you can redistribute it and/or modify it
42       under the terms of the GNU General Public License as published  by  the
43       Free  Software Foundation; either version 2 of the License, or (at your
44       option) any later version.
45

BUGS

47       No known real bugs exist, except that this software  does  not  perform
48       extensive error checking on its input files.
49
50
51
52                                  2013 Sep 10                   UNIGENWIDTH(1)
Impressum