VWIDTH(1) — USER COMMANDS
NAME
vwidth − make a troff width table for a font
SYNOPSIS
/usr/lib/vwidth fontfile pointsize > ftxx.c
cc -c ftxx.c
mv ftxx.o /usr/lib/font/ftxx
AVAILABILITY
This command is available with the Versatec Printer software installation option. Refer to Installing the SunOS for information on how to install optional software.
DESCRIPTION
vwidth translates from the width information stored in the vfont style format to the format expected by troff(1) — an object file in a.out(5) format. troff should look directly in the font file but it doesn’t.
vwidth should be used after editing a font with fontedit(1). It is not necessary to use vwidth unless you have made a change that would affect the width tables. Such changes include numerically editing the width field, adding a new character, and moving or copying a character to a new position. It is not always necessary to use vwidth if the physical width of the glyph (for instance the number of columns in the bit matrix) has changed, but if it has changed much the logical width should probably be changed and vwidth run.
vwidth produces a C program on its standard output. This program should be run through the C compiler and the object (that is, the .o file) saved. The resulting file should be placed in /usr/lib/font in the file ftxx where xx is a one or two letter code that is the logical (internal to troff) font name. This name can be found by looking in the file /usr/lib/fontinfo/fname∗ where fname is the external name of the font.
FILES
/usr/lib/font
a.out
SEE ALSO
troff(1), vtroff(1), fontedit(1), a.out(5), vfont(5)
Sun Release 4.0 — Last change: 21 December 1987