Linux Commands Examples

A great documentation place for Linux commands


verify and translate a packed font bitmap file to plain text

see also : dvitype - gftopk - gftype


pktype pk_file[pk]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


pixedit ................ xopt
pixmap ................. xopt
pktogf .................. TeX
pktype .................. TeX


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 pktype program translates a packed font file (pk) (output by, for example, gftopk(1) to a file that humans can read. 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.

The input pk_file on the command line may omit the suffix ’pk. The plain text translation is always written to standard output.

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.


pktype looks for pk_file in the usual places according to Kpathsea.

See tex(1) for the details of the searching.

see also

dvitype , gftopk , gftype .
Donald E. Knuth et al., Metafontware.


Tomas Rokicki wrote the program, Donald E. Knuth originally ported it to Unix, Pierre MacKay originally adapted it for compilation with Web2c.

How can this site be more helpful to YOU ?

give  feedback