CPI
From Just Solve the File Format Problem
- For other "CPI" formats, see: Blu-ray Clip info, CPI (ColorLab), Marco Pixel Editor, Cartesian Perceptual Compression.
CPI is a font (or at least font-related) file format associated with MS-DOS.
FreeDOS also supports CPX files in addition to CPI; they are CPI files compressed with UPX as if they were COM files.
See also DRFONT, for a variant used by DR-DOS.
Contents |
Discussion
A CPI file typically contains fonts from a single typeface, with support for multiple code pages, each rendered at multiple font sizes.
A CPI file usually contains either screen fonts, or printer fonts. A printer font can be just the instructions used to select a font that is built into the printer, or it can be actual font data to be sent to the printer.
Identification
CPI files begin with 0xff "FONT "
, or 0xff "FONT.NT"
.
Specifications
- CPI file format, by John Elliott
- The cpi.txt file from PSF Tools (doc/cpi.txt in the source code).
- CPI file format in Ralf Brown's: #01758, #01759, #01760, #01761, #01762, #01763, #01764, #01765
Software
- PSF Tools
- cpi2psf, psfs2cpi - Read, write
- cpicomp, cpidcomp - Compress, decompress
- cpitest - Dump information about the file (not normally installed)
- Deark
Sample files
- DOS5FIX.ZIP → *.CPI
- TEXTFONT.ZIP → *.CPI
- MS-DOS 3.30, at WinWorld → "Microsoft MS-DOS 3.30 (5.25-360k)" → ... → *.CPI
- Some CPX samples: [1]