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

NAME

6       vwidth - make troff width table for a font
7

SYNOPSIS

9       vwidth fontfile pointsize > ftxx.c
10       cc -c ftxx.c mv ftxx.o /usr/share/font/ftxx
11

DESCRIPTION

13       Vwidth  translates from the width information stored in the vfont style
14       format to the format expected by troff.  Troff wants an object file  in
15       a.out(5)  format.  (This fact does not seem to be documented anywhere.)
16       Troff should look directly in the font file but it doesn't.
17
18       Vwidth should be used after editing a font with fed(1).  It is not nec‐
19       essary  to  use  vwidth unless you have made a change that would affect
20       the width tables.  Such changes include numerically editing  the  width
21       field,  adding  a new character, and moving or copying a character to a
22       new position.  It is not always necessary to use vwidth if the physical
23       width  of  the glyph (e.g. the number of columns in the bit matrix) has
24       changed, but if it has changed much the logical width  should  probably
25       be changed and vwidth run.
26
27       Vwidth  produces  a  C  program  on  its standard output.  This program
28       should be run through the C compiler and the object (that  is,  the  .o
29       file) saved.  The resulting file should be placed in /usr/share/font in
30       the file ftxx where is a one or two letter code  that  is  the  logical
31       (internal  to  troff)  font name.  This name can be found by looking in
32       the file /usr/share/fontinfo/fname* where fname is the external name of
33       the font.
34

SEE ALSO

36       fed(1), vfont(5), troff(1), vtroff(1)
37

BUGS

39       Produces  the C file using obsolete syntax that the portable C compiler
40       complains about.
41
42
43
444.2 Berkeley Distribution      October 22, 1996                      VWIDTH(1)
Impressum