Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Apropos / Subsearch:
optional field

VWIDTH(1)                   General Commands Manual                  VWIDTH(1)

       vwidth - make a troff width table for a font

       /usr/lib/vwidth fontfile pointsize >> ftxx.c

       cc -c ftxx.c

       mv ftxx.o /usr/lib/font/ftxx

       This  command  is  available  with  the  Versatec software installation
       option.  Refer to for information on how to install optional software.

       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.


       troff(1), vtroff(1), fontedit(1), a.out(5), vfont(5)

3rd Berkeley Distribution      21 December 1987                      VWIDTH(1)