1PKTYPE(1) General Commands Manual PKTYPE(1)
2
3
4
6 pktype - verify and translate a packed font bitmap file to plain text
7
9 pktype pk_file [ output_file ]
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 pktype program translates a packed font file (pk) (output by, for
17 example, gftopk(1) to a file that humans can read. It also serves as a
18 pk file-validating program (i.e., if pktype can read it, it's correct)
19 and as an example of a pk-reading program for other software that wants
20 to read pk files.
21
22 The pk_file on the command line must be complete. Because the resolu‐
23 tion is part of the extension, it would not make sense to append a
24 default extension as is done with TeX or DVI-reading software. If no
25 output_file is specified, the plain text translation is written to
26 standard output.
27
28 The output file gives a compact encoding of the packed encoding, using
29 conventions described in the source code. Run lengths of black pixels
30 alternate with parenthesized run lengths of white pixels, and brackets
31 are used to indicate when a row should be repeated.
32
34 pktype looks for pk_file using the environment variable PKFONTS. If
35 that is not set, it uses the variable TEXPKS. If that is not set, it
36 uses TEXFONTS. If that is not set, it uses the system default.
37
38 See tex(1) for the details of the searching.
39
41 dvitype(1), gftopk(1), gftype(1).
42 Donald E. Knuth et al., Metafontware.
43
45 Tomas Rokicki wrote the program. Donald E. Knuth originally ported it
46 to Unix. Pierre MacKay adapted it for compilation with Web2c.
47
48
49
50Web2C 7.5.6 13 March 1996 PKTYPE(1)