4.4BSD/usr/share/man/cat1/tfmtodit.0




TFMTODIT(1)            BSD Reference Manual           TFMTODIT(1)


NNAAMMEE
       tfmtodit - create font files for use with groff -Tdvi

SSYYNNOOPPSSIISS
       ttffmmttooddiitt  [  --ssvv  ]  [ --gg_g_f___f_i_l_e ] [ --kk_s_k_e_w_c_h_a_r ] _t_f_m___f_i_l_e
       _m_a_p___f_i_l_e _f_o_n_t

DDEESSCCRRIIPPTTIIOONN
       ttffmmttooddiitt creates a font file for  use  with  ggrrooffff  --TTddvvii.
       _t_f_m___f_i_l_e  is  the name of the TeX font metric file for the
       font.  _m_a_p___f_i_l_e is a file giving the groff names for char-
       acters in the font; this file should consist of a sequence
       of lines of the form:

              _n _c_1 _c_2 ...

       where _n is a decimal integer giving the  position  of  the
       character in the font, and _c_1, _c_2,...  are the groff names
       of the character.  If a character has no groff  names  but
       exists  in  the tfm file, then it will be put in the groff
       font file as an unnamed character.  _f_o_n_t is  the  name  of
       the  groff  font  file.  The groff font file is written to
       _f_o_n_t.

       The --ss option should be given if the font  is  special  (a
       font is _s_p_e_c_i_a_l if ttrrooffff should search it whenever a char-
       acter is not found in the current font.)  If the  font  is
       special,  it  should be listed in the ffoonnttss command in the
       DESC file; if it is not special, there is no need to  list
       it, since ttrrooffff can automatically mount it when it's first
       used.

       To do a good job of math typesetting, groff requires  font
       metric  information not present in the tfm file.  The rea-
       son for this is that TeX has separate  math  italic  fonts
       whereas  groff  uses  normal  italic  fonts for math.  The
       additional information required by groff is given  by  the
       two  arguments  to the mmaatthh__ffiitt macro in the Metafont pro-
       grams for the Computer Modern fonts.  In a  text  font  (a
       font  for  which mmaatthh__ffiittttiinngg is false), Metafont normally
       ignores these two arguments.  Metafont can be made to  put
       this  information  in the gf file by loading the following
       definition after ccmmbbaassee when creating ccmm..bbaassee:

              ddeeff iiggnnoorree__mmaatthh__ffiitt((eexxpprr lleefftt__aaddjjuussttmmeenntt,,rriigghhtt__aaddjjuussttmmeenntt)) ==
                  ssppeecciiaall ""aaddjjuussttmmeenntt"";;
                  nnuummssppeecciiaall lleefftt__aaddjjuussttmmeenntt**1166//ddeessiiggnnssiizzee;;
                  nnuummssppeecciiaall rriigghhtt__aaddjjuussttmmeenntt**1166//ddeessiiggnnssiizzee;;
                  eennddddeeff;;

       The gf file created using this modified ccmm..bbaassee should  be



Groff Version 1.08        6 August 1992                         1








TFMTODIT(1)            BSD Reference Manual           TFMTODIT(1)


       specified with the --gg option.  The --gg option should not be
       given for a font for which mmaatthh__ffiittttiinngg is true.

OOPPTTIIOONNSS
       --vv     Print the version number.

       --ss     The font is special.  The effect of this option  is
              to add the ssppeecciiaall command to the font file.

       --kk_n    The  skewchar  of  this  font  is at position _n.  _n
              should be an integer; it may be given  in  decimal,
              or  with a leading 00 in octal, or with a leading 00xx
              in hexadecimal.  The effect of this  option  is  to
              ignore  any  kerns  whose  second  component is the
              specified character.

       --gg_g_f___f_i_l_e
              _g_f___f_i_l_e is a gf file produced by Metafont  contain-
              ing  special  and  numspecial commands giving addi-
              tional font metric information.

FFIILLEESS
       //uussrr//sshhaarree//ggrrooffff__ffoonntt//ddeevvddvvii//DDEESSCC
              Device desciption file.

       //uussrr//sshhaarree//ggrrooffff__ffoonntt//ddeevvddvvii//_F
              Font description file for font _F.

SSEEEE AALLSSOO
       ggrrooffff(1), ggrrooddvvii(1), ggrrooffff__ffoonntt(5)
























Groff Version 1.08        6 August 1992                         2