|
|
1.1 root 1: .TH VWIDTH 1 3/4/80
2: .UC
3: .SH NAME
4: vwidth \- make troff width table for a font
5: .SH SYNOPSIS
6: .B vwidth
7: fontfile pointsize >ft\fIxx\fP.c
8: .br
9: .B cc -c ft\fIxx\fP.c
10: mv ft\fIxx\fP.o /usr/lib/font/ft\fIxx\fP
11: .SH DESCRIPTION
12: .I Vwidth
13: translates from the width information stored in the vfont style
14: format to the format expected by troff.
15: Troff wants an object file in a.out(5) format.
16: (This fact does not seem to be documented anywhere.)
17: Troff should look directly in the font file but it doesn't.
18: .PP
19: Vwidth should be used after editing a font with
20: .I fed(1).
21: It is not necessary to use vwidth unless you have made a change
22: that would affect the width tables.
23: Such changes include numerically editing the width field,
24: adding a new character,
25: and moving or copying a character to a new position.
26: It is
27: .I not
28: always necessary to use vwidth if the physical width of the glyph
29: (e.g. the number of columns in the bit matrix) has changed, but
30: if it has changed much the logical width should probably be changed
31: and vwidth run.
32: .PP
33: Vwidth produces a C program on its standard output.
34: This program should be run through the C compiler and
35: the object (that is, the .o file) saved.
36: The resulting file should be placed in /usr/lib/font
37: in the file
38: .RI ft xx
39: where
40: .II xx
41: is a one or two letter code that is the logical (internal to troff)
42: font name.
43: This name can be found by looking in the file
44: .RI /usr/lib/fontinfo/ fname *
45: where
46: .I fname
47: is the external name of the font.
48: .SH "SEE ALSO"
49: fed(1),
50: vfont(5),
51: troff(1),
52: vtroff(1)
53: .SH BUGS
54: Produces the C file using obsolete syntax
55: that the portable C compiler complains about.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.