info > pktype

📍

File: web2c.info, Node: pktype invocation, Next: gftype invocation, Prev: pktogf invocation, Up: Font utilities

🖨️ 11.4 PKtype: Plain text transliteration of packed fonts

🚀 Quick Reference

Use Case Command Description
📄 Read PK file as human-readable text pktype cmr10.600pk Transliterates a packed font (PK) bitmap file to plain text on stdout.
✅ Validate a PK file pktype fontname.600pk If pktype reads the file without error, the PK file is valid.
🔍 Check specific character details pktype fontname.600pk | grep 'Character = 75' Extract information for a particular character (e.g., decimal code 75 = 'K').

📝 Synopsis

pktype PKNAME.DPI[pk]

The font PKNAME is searched for in the usual places (*note (kpathsea)Glyph lookup::). To see all the relevant paths, set the environment variable KPATHSEA_DEBUG to -1 before running the program.

The suffix pk is supplied if not already present. This suffix is not an extension; no '.' precedes it: for instance, cmr10.600pk.

The translation is written to standard output.

The only options are -help and -version (*note Common options::).

📖 Example Output

As an example of the output, here is the (abridged) translation of the letter 'K' in cmr10, as rendered at 600dpi with the mode ljfour from ftp://ftp.tug.org/tex/modes.mf.

 955:  Flag byte = 184  Character = 75  Packet length = 174
   Dynamic packing variable = 11
   TFM width = 815562  dx = 4259840
   Height = 57  Width = 57  X-offset = -3  Y-offset = 56
   [2]23(16)17(8)9(25)11(13)7(27)7(16)7(28)4(18)7(28)2(20)7(27)...
   ...
   (14)9(24)12(5)[2]23(13)21

🔍 Explanation

pktype
🖨️ 11.4 PKtype: Plain text transliteration of packed fonts 🚀 Quick Reference
📝 Synopsis 📖 Example Output 🔍 Explanation

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-31 08:07 @216.73.217.152
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format