PKTYPE(1)
π PKTYPE(1) π
okay bestie, so this is the General Commands Manual page for pktype, and honestly? she's giving utility icon energy. let's get into it β¨
πΈ NAME πΈ
pktype β verify and translate a packed font (pk) bitmap file to plain text π
π¦ SYNOPSIS π¦
pktype pk_file[pk]
β¨ DESCRIPTION β¨
so the pktype program translates a packed font file (pk) β the kind of thing output by, like, gftopk(1) for example β into a file that humans can actually read. ngl that's the whole vibe. π
but wait, there's more: it also serves as a pk file-validating program (i.e., if pktype can read it, it's correct π) and as an example of a pk-reading program for other software that wants to read pk files. main character of the pk-reading world, fr fr.
the input pk_file on the command line may omit the suffix pk β she's flexible like that. the plain text translation is always written to standard output. periodt.
the output file gives a compact encoding of the packed encoding, using conventions described in the source code. run lengths of black pixels alternate with parenthesized run lengths of white pixels, and brackets are used to indicate when a row should be repeated. iconic little system, no cap π«Ά
π OPTIONS π
- See
tex(1)for details of command-line parsing. (iykyk) - The standard
-helpand-versionoptions are supported. β¨
π ENVIRONMENT π
the program looks for pk_file using the environment variables PKFONTS, TEXPKS, GLYPHFONTS, and TEXFONTS β in that order, bestie, order matters!! if none are set, it uses the system default.
see the Kpathsea manual at https://tug.org/kpathsea for the details of the searching. π
π SEE ALSO π
dvitype(1)gftopk(1)gftype(1)- Donald E. Knuth et al., Metafontware.
π AUTHORS π
Tomas Rokicki wrote the program. Donald E. Knuth originally ported it to Unix. Pierre MacKay originally adapted it for compilation with Web2c. a whole legendary lineup honestly π§
Public discussion list and bug reports: https://lists.tug.org/tex-k
k that's the whole page bestie, go validate some pk files, slay π π₯
β sign-off time: this lil masterpiece is from Web2C 2026, dated 25 January 2026 πβ bye!!
π¦ where this page comes from
- alpine 3.24: texmf-dist-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms