PK font

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Add some more information about identification)
 
(2 intermediate revisions by one user not shown)
Line 4: Line 4:
 
|extensions={{ext|pk}}, others
 
|extensions={{ext|pk}}, others
 
}}
 
}}
'''Packed Font File Format''' ('''PK''') is a bitmap font format associated with Metafont and [[TeX]].
+
'''Packed Font File Format''' ('''PK''') is a bitmap font format associated with [[Metafont]] and [[TeX]].
  
 
== 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 ==
Line 17: Line 17:
 
== Specifications ==
 
== Specifications ==
 
* [https://www.tug.org/TUGboat/tb06-3/tb13pk.pdf Packed (PK) Font File Format]
 
* [https://www.tug.org/TUGboat/tb06-3/tb13pk.pdf Packed (PK) Font File Format]
 +
* [http://www.davidsalomon.name/DC4advertis/PKfonts.pdf PK Font Compression]
 +
* [http://tug.ctan.org/tex-archive/macros/latex/doc/encguide.pdf LaTeX font encodings] - Documents some of the character encodings that PK fonts might use
  
 
== Software ==
 
== Software ==
 
* [[Netpbm]]: pbmtopk, pktopbm
 
* [[Netpbm]]: pbmtopk, pktopbm
 
* [ftp://ftp.cs.tu-berlin.de/pub/TeX/TeX-3.141/Unsupported/MFpxl/CMFpxlware/ pktopx/pxtopk in C]
 
* [ftp://ftp.cs.tu-berlin.de/pub/TeX/TeX-3.141/Unsupported/MFpxl/CMFpxlware/ pktopx/pxtopk in C]
* Metafont (GFtoPK, PKtoPX, PXtoPK)
+
* [[Metafont]] (GFtoPK, PKtoPX, PXtoPK)
  
 
== Sample files ==
 
== Sample files ==

Latest revision as of 03:30, 4 February 2020

File Format
Name PK font
Ontology
Extension(s) .pk, others

Packed Font File Format (PK) is a bitmap font format associated with Metafont and TeX.

Contents

[edit] Identifiers

The file extension is usually a number (of dots per inch), followed by "pk".

[edit] 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.

[edit] See also

[edit] Specifications

[edit] Software

[edit] Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox