PK font
From Just Solve the File Format Problem
(Difference between revisions)
m |
(Add some more information about identification) |
||
Line 7: | Line 7: | ||
== Identifiers == | == Identifiers == | ||
− | The file extension is usually a number, followed by "pk". | + | The file extension is usually a number (of dots per inch), followed by "pk". |
== Identification == | == Identification == | ||
− | Files begin with {{magic|f7 59}}. | + | Files begin with {{magic|f7 59}}. The last byte has decimal code 245 or 246; if 246 then it ends with a code 245 followed by one or more of code 246. |
== See also == | == See also == |
Revision as of 03:30, 4 February 2020
Packed Font File Format (PK) is a bitmap font format associated with Metafont and TeX.
Contents |
Identifiers
The file extension is usually a number (of dots per inch), followed by "pk".
Identification
Files begin with f7 59
. The last byte has decimal code 245 or 246; if 246 then it ends with a code 245 followed by one or more of code 246.
See also
Specifications
- Packed (PK) Font File Format
- PK Font Compression
- LaTeX font encodings - Documents some of the character encodings that PK fonts might use
Software
- Netpbm: pbmtopk, pktopbm
- pktopx/pxtopk in C
- Metafont (GFtoPK, PKtoPX, PXtoPK)