


TFMTODIT(1)                                           TFMTODIT(1)


NNAAMMEE
       tfmtodit - create font files for use with groff -Tdvi

SSYYNNOOPPSSIISS
       ttffmmttooddiitt  [  --ssvv  ]  [ --gg_g_f___f_i_l_e ] [ --kk_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

DDEESSCCRRIIPPTTIIOONN
       ttffmmttooddiitt creates a font file for  use  with  ggrrooffff  --TTddvvii.
       _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 --ss option should be given if the font  is  special  (a
       font is _s_p_e_c_i_a_l if ttrrooffff 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 ffoonnttss command in the
       DESC file; if it is not special, there is no need to  list
       it, since ttrrooffff 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 mmaatthh__ffiitt macro in the Metafont pro-
       grams for the Computer Modern fonts.  In a  text  font  (a
       font  for  which mmaatthh__ffiittttiinngg 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 ccmmbbaassee when creating ccmm..bbaassee:

              ddeeff iiggnnoorree__mmaatthh__ffiitt((eexxpprr lleefftt__aaddjjuussttmmeenntt,,rriigghhtt__aaddjjuussttmmeenntt)) ==
                  ssppeecciiaall ""aaddjjuussttmmeenntt"";;
                  nnuummssppeecciiaall lleefftt__aaddjjuussttmmeenntt**1166//ddeessiiggnnssiizzee;;
                  nnuummssppeecciiaall rriigghhtt__aaddjjuussttmmeenntt**1166//ddeessiiggnnssiizzee;;
                  eennddddeeff;;

       The gf file created using this modified ccmm..bbaassee should  be
       specified with the --gg option.  The --gg option should not be
       given for a font for which mmaatthh__ffiittttiinngg is true.




Groff Version 1.08        6 August 1992                         1





TFMTODIT(1)                                           TFMTODIT(1)


OOPPTTIIOONNSS
       --vv     Print the version number.

       --ss     The font is special.  The effect of this option  is
              to add the ssppeecciiaall command to the font file.

       --kk_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 00 in octal, or with a leading 00xx
              in hexadecimal.  The effect of this  option  is  to
              ignore  any  kerns  whose  second  component is the
              specified character.

       --gg_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.

FFIILLEESS
       //uu11//ggnnuu//lliibb//ggrrooffff//ffoonntt//ddeevvddvvii//DDEESSCC
              Device desciption file.

       //uu11//ggnnuu//lliibb//ggrrooffff//ffoonntt//ddeevvddvvii//_F
              Font description file for font _F.

SSEEEE AALLSSOO
       ggrrooffff(1), ggrrooddvvii(1), ggrrooffff__ffoonntt(5)






























Groff Version 1.08        6 August 1992                         2


