PK font
From Just Solve the File Format Problem
				
								
				(Difference between revisions)
				
																
				
				
								
				Dexvertbot  (Talk | contribs)  m (Change telparia.com samples link to template)  | 
			|||
| (9 intermediate revisions by 4 users 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 ==  | ||
| + | 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 14: | 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)  | 
| + | * {{Deark}}  | ||
== Sample files ==  | == Sample files ==  | ||
| Line 24: | Line 30: | ||
* [http://cd.textfiles.com/amigaformat/aformat-28-19980612/-Seriously_Amiga-/Comms/Other/amicas/fonts/tex/pk/ http://cd.textfiles.com/amigaformat/.../tex/pk/]  | * [http://cd.textfiles.com/amigaformat/aformat-28-19980612/-Seriously_Amiga-/Comms/Other/amicas/fonts/tex/pk/ http://cd.textfiles.com/amigaformat/.../tex/pk/]  | ||
* [http://cd.textfiles.com/infomagic/imagicldr199406/disk2/live/usr/TeX/lib/texmf/fonts/public/cm/pk/cx/ http://cd.textfiles.com/infomagic/.../cm/pk/cx/]  | * [http://cd.textfiles.com/infomagic/imagicldr199406/disk2/live/usr/TeX/lib/texmf/fonts/public/cm/pk/cx/ http://cd.textfiles.com/infomagic/.../cm/pk/cx/]  | ||
| + | * {{DexvertSamples|font/texPKFont}}  | ||
| + | |||
| + | [[Category:File formats with too many extensions]]  | ||
| + | [[Category:TeX]]  | ||
Latest revision as of 04:07, 28 December 2023
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
- Packed (PK) Font File Format
 - PK Font Compression
 - LaTeX font encodings - Documents some of the character encodings that PK fonts might use
 
[edit] Software
- Netpbm: pbmtopk, pktopbm
 - pktopx/pxtopk in C
 - Metafont (GFtoPK, PKtoPX, PXtoPK)
 - Deark