Debian Codegraph @

texmf-dist/doc/man/man1/pktype.1

raw
1 .TH PKTYPE 1 "25 January 2026" "Web2C 2026"
2 .\"=====================================================================
3 .if n .ds MF Metafont
4 .if t .ds MF Metafont
5 .if t .ds TX \fRT\\h'-0.10m'\\v'0.17v'E\\v'-0.17v'\\h'-0.06m'X\fP
6 .if n .ds TX TeX
7 .\"=====================================================================
8 .SH NAME
9 pktype \- verify and translate a packed font (pk) bitmap file to plain text
10 .SH SYNOPSIS
11 .B pktype
12 .IR pk_file [pk]
13 .\"=====================================================================
14 .SH DESCRIPTION
15 The
16 .B pktype
17 program translates a packed font file
18 .RI ( pk )
19 output by, for example,
20 .BR gftopk (1),
21 to a file that humans can read. It also serves as a
22 .I pk
23 file-validating program (i.e., if
24 .B pktype
25 can read it, it's correct) and as an example of a
26 .IR pk -reading
27 program for other software that wants to read
28 .I pk
29 files.
30 .PP
31 The input
32 .I pk_file
33 on the command line may omit the suffix "pk".
34 The plain text translation is always written to standard output.
35 .PP
36 The output file gives a compact encoding of the packed encoding, using
37 conventions described in the source code. Run lengths of black pixels
38 alternate with parenthesized run lengths of white pixels, and brackets
39 are used to indicate when a row should be repeated.
40 .\"=====================================================================
41 .SH OPTIONS
42 See
43 .BR tex (1)
44 for details of command-line parsing.
45 .PP
46 The standard
47 .B -help
48 and
49 .B -version
50 options are supported.
51 .\"=====================================================================
52 .SH ENVIRONMENT
53 The program looks for
54 .I pk_file
55 using the environment variables PKFONTS, TEXPKS, GLYPHFONTS, and
56 TEXFONTS, in that order. If none are set, it uses the system default.
57 See the Kpathsea manual at https://tug.org/kpathsea for the details of
58 the searching.
59 .\"=====================================================================
60 .SH "SEE ALSO"
61 .BR dvitype (1),
62 .BR gftopk (1),
63 .BR gftype (1).
64 .br
65 Donald E. Knuth et al.,
66 .IR \*(MFware .
67 .\"=====================================================================
68 .SH AUTHORS
69 Tomas Rokicki wrote the program.
70 Donald E. Knuth originally ported it to Unix.
71 Pierre MacKay originally adapted it for compilation with Web2c.
72 .PP
73 Public discussion list and bug reports: https://lists.tug.org/tex-k