1GFTOPK(1) General Commands Manual GFTOPK(1)
2
3
4
6 gftopk - convert generic font files to packed font files
7
9 gftopk [-v] gf_file_name [pk_file_name]
10
12 This manual page is not meant to be exhaustive. The complete documen‐
13 tation for this version of TeX can be found in the info file or manual
14 Web2C: A TeX implementation.
15
16 The gftopk program converts a generic font file output by, for example,
17 mf(1), to a packed font file for use by DVI-reading programs. Packed
18 font files (pk files) are much smaller than the corresponding gf files,
19 so they are generally the font format of choice.
20
21 The gf_file_name on the command line must be complete. Because the res‐
22 olution is part of the extension, it would not make sense to append a
23 default extension as is done with TeX or DVI-reading software. The
24 pk_file_name defaults to the same (stripped) name as gf_file_name, and
25 it is placed in the current working directory with the pk suffix re‐
26 placing gf. For example, the input file cmr10.300gf would become
27 cmr10.300pk.
28
30 Unless the -v switch is given, gftopk operates silently. With -v, the
31 version number of the program and statistics about the packing are out‐
32 put to stdout.
33
35 gftopk looks for gf_file_name first in the current directory. If it is
36 not present there, it uses the environment variable GFFONTS. If that
37 is not set, it uses the variable TEXFONTS. If that is not set, it uses
38 the system default.
39
40 See tex(1) for the details of the searching.
41
43 gftype(1), pktogf(1), pktype(1).
44 Donald E. Knuth et al., Metafontware.
45
47 Tomas Rokicki wrote the program. It was published as part of the Meta‐
48 fontware technical report, available from the TeX Users Group. Paul
49 Richards originally ported it to Unix.
50
51
52
53Web2C 2021 16 June 2015 GFTOPK(1)