1 @comment TROFF INPUT: .TH UNIGENWIDTH 1 "2013 Sep 10"
5 @c DEBUG: print_menu("@section")
9 * unigenwidth SYNOPSIS::
10 * unigenwidth DESCRIPTION::
11 * unigenwidth EXAMPLE::
13 * unigenwidth SEE ALSO::
14 * unigenwidth AUTHOR::
15 * unigenwidth LICENSE::
21 @comment TROFF INPUT: .SH NAME
23 @node unigenwidth NAME
24 @subsection unigenwidth NAME
25 @c DEBUG: print_menu("unigenwidth NAME")
27 unigenwidth @minus{} Generate C code for POSIX wcwidth and wcswidth functions
28 @comment TROFF INPUT: .SH SYNOPSIS
30 @node unigenwidth SYNOPSIS
31 @subsection unigenwidth SYNOPSIS
32 @c DEBUG: print_menu("unigenwidth SYNOPSIS")
34 @comment TROFF INPUT: .br
36 @comment TROFF INPUT: .B unigenwidth
38 @comment TROFF INPUT: .I unifont.hex combining.txt
39 @i{unifont.hex combining.txt}
40 @comment TROFF INPUT: .SH DESCRIPTION
42 @node unigenwidth DESCRIPTION
43 @subsection unigenwidth DESCRIPTION
44 @c DEBUG: print_menu("unigenwidth DESCRIPTION")
46 @comment TROFF INPUT: .B unigenwidth
48 reads a collection of glyphs in Unifont's .hex format,
49 then reads a list of combining characters as a hexadecimal list.
50 From these two files, it produces C code to implement the POSIX
51 @comment TROFF INPUT: .BR wcwidth(3)
54 @comment TROFF INPUT: .BR wcswidth(3)
56 functions. The format of these definitions is based upon
57 POSIX 1003.1-2008 System Interfaces, pages 2251 and 2241, respectively.
58 @comment TROFF INPUT: .SH EXAMPLE
60 @node unigenwidth EXAMPLE
61 @subsection unigenwidth EXAMPLE
62 @c DEBUG: print_menu("unigenwidth EXAMPLE")
64 @comment TROFF INPUT: .PP
67 @comment TROFF INPUT: .PP
69 @comment TROFF INPUT: .RS
71 @c ---------------------------------------------------------------------
73 unigenwidth unifont.hex combining.txt > wccode.c
74 @comment TROFF INPUT: .RE
78 @c ---------------------------------------------------------------------
79 @comment TROFF INPUT: .SH FILES
81 @node unigenwidth FILES
82 @subsection unigenwidth FILES
83 @c DEBUG: print_menu("unigenwidth FILES")
85 *.hex files for Unifont glyph data; combining.txt for combining code points.
86 @comment TROFF INPUT: .SH SEE ALSO
88 @node unigenwidth SEE ALSO
89 @subsection unigenwidth SEE ALSO
90 @c DEBUG: print_menu("unigenwidth SEE ALSO")
92 @comment TROFF INPUT: .BR bdfimplode(1),
94 @comment TROFF INPUT: .BR hex2bdf(1),
96 @comment TROFF INPUT: .BR hex2sfd(1),
98 @comment TROFF INPUT: .BR hexbraille(1),
100 @comment TROFF INPUT: .BR hexdraw(1),
102 @comment TROFF INPUT: .BR hexmerge(1),
104 @comment TROFF INPUT: .BR johab2ucs2(1),
106 @comment TROFF INPUT: .BR unibdf2hex(1),
108 @comment TROFF INPUT: .BR unibmp2hex(1),
110 @comment TROFF INPUT: .BR unicoverage(1),
112 @comment TROFF INPUT: .BR unidup(1),
114 @comment TROFF INPUT: .BR unifont(5),
116 @comment TROFF INPUT: .BR unifontchojung(1),
117 @b{unifontchojung(1),}
118 @comment TROFF INPUT: .BR unifontksx(1),
120 @comment TROFF INPUT: .BR unifontpic(1),
122 @comment TROFF INPUT: .BR unigencircles(1),
123 @b{unigencircles(1),}
124 @comment TROFF INPUT: .BR unihex2bmp(1),
126 @comment TROFF INPUT: .BR unihex2png(1),
128 @comment TROFF INPUT: .BR unihexgen(1),
130 @comment TROFF INPUT: .BR unipagecount(1),
132 @comment TROFF INPUT: .BR unipng2hex(1)
134 @comment TROFF INPUT: .SH AUTHOR
136 @node unigenwidth AUTHOR
137 @subsection unigenwidth AUTHOR
138 @c DEBUG: print_menu("unigenwidth AUTHOR")
140 @comment TROFF INPUT: .B unigenwidth
142 was written by Paul Hardy.
143 @comment TROFF INPUT: .SH LICENSE
145 @node unigenwidth LICENSE
146 @subsection unigenwidth LICENSE
147 @c DEBUG: print_menu("unigenwidth LICENSE")
149 @comment TROFF INPUT: .B unigenwidth
151 is Copyright @copyright{} 2013 Paul Hardy.
152 @comment TROFF INPUT: .PP
154 This program is free software; you can redistribute it and/or modify
155 it under the terms of the GNU General Public License as published by
156 the Free Software Foundation; either version 2 of the License, or
157 (at your option) any later version.
158 @comment TROFF INPUT: .SH BUGS
160 @node unigenwidth BUGS
161 @subsection unigenwidth BUGS
162 @c DEBUG: print_menu("unigenwidth BUGS")
164 No known real bugs exist, except that this software does not perform
165 extensive error checking on its input files.