# phpman > man > gftopk(1)

[GFTOPK(1)](https://www.chedong.com/phpMan.php/man/GFTOPK/1/markdown)                              General Commands Manual                             [GFTOPK(1)](https://www.chedong.com/phpMan.php/man/GFTOPK/1/markdown)



## NAME
       gftopk - convert generic font files to packed font files

## SYNOPSIS
       **gftopk** [**-v**] _gf_file_name_ [_pk_file_name_]

## DESCRIPTION
       This  manual page is not meant to be exhaustive.  The complete documentation for this version
       of TeX can be found in the info file or manual _Web2C:_ _A_ _TeX_ _implementation_.

       The **gftopk** program converts a generic font file output by, for example, [**mf**(1)](https://www.chedong.com/phpMan.php/man/mf/1/markdown),  to  a  packed
       font file for use by DVI-reading programs. Packed font files (_pk_ files) are much smaller than
       the corresponding _gf_ files, so they are generally the font format of choice.

       The _gf_file_name_ on the command line must be complete. Because the resolution is part of  the
       extension,  it would not make sense to append a default extension as is done with TeX or DVI-
       reading software. The _pk_file_name_ defaults to the same (stripped) name as _gf_file_name_,  and
       it  is placed in the current working directory with the **pk** suffix replacing **gf**.  For example,
       the input file _cmr10.300gf_ would become _cmr10.300pk_.

## OPTIONS
       Unless the **-v** switch is given, **gftopk** operates silently.  With **-v**, the version number of  the
       program and statistics about the packing are output to _stdout_.

## ENVIRONMENT
       **gftopk** looks for _gf_file_name_ first in the current directory.  If it is not present there, it
       uses the environment variable GFFONTS.  If that is not set, it uses  the  variable  TEXFONTS.
       If that is not set, it uses the system default.

       See [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown) for the details of the searching.

## SEE ALSO
       [**gftype**(1)](https://www.chedong.com/phpMan.php/man/gftype/1/markdown), [**pktogf**(1)](https://www.chedong.com/phpMan.php/man/pktogf/1/markdown), [**pktype**(1)](https://www.chedong.com/phpMan.php/man/pktype/1/markdown).
       Donald E. Knuth et al., _Metafontware_.

## AUTHORS
       Tomas  Rokicki  wrote the program. It was published as part of the _Metafontware_ technical re‐
       port, available from the TeX Users Group.  Paul Richards originally ported it to Unix.



Web2C 2022/dev                              16 June 2015                                   [GFTOPK(1)](https://www.chedong.com/phpMan.php/man/GFTOPK/1/markdown)
