CPI

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Fonts |extensions={{ext|cpi}} }} '''CPI''' is a file format describing DOS code page fonts. wikipedia:FreeDOS MODE also suppo...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|subcat=Fonts
 
|subcat=Fonts
 
|extensions={{ext|cpi}}
 
|extensions={{ext|cpi}}
 +
|released=≤1987
 
}}
 
}}
'''CPI''' is a file format describing DOS code page fonts.
+
:''For other "CPI" formats, see: [[Blu-ray Clip info]], [[CPI (ColorLab)]], [[Marco Pixel Editor]], [[Cartesian Perceptual Compression]].''
  
[[wikipedia:FreeDOS|FreeDOS]] MODE also supports CPX files in addition to CPI; they are CPI files compressed with [[wikipedia:UPX|UPX]] as if they were [[DOS executable (.com)|COM files]].
+
'''CPI''' is a DOS font or font-related file format.
  
== Links ==
+
There is also a [[DRFONT]] variant.
* [http://www.delorie.com/djgpp/doc/rbinter/it/58/17.html CPI file format in RBIL]
+
 
 +
[[wikipedia:FreeDOS|FreeDOS]] MODE also supports CPX files in addition to CPI; they are CPI files compressed with [[UPX]] as if they were [[DOS executable (.com)|COM files]].
 +
 
 +
== 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 downloaded to the printer.
 +
 
 +
== Identification ==
 +
CPI files begin with {{magic|0xff "FONT   "}}, or {{magic|0xff "FONT.NT"}}.
 +
 
 +
== Specifications ==
 +
* [https://www.seasip.info/DOS/CPI/cpi.html 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: [https://www.delorie.com/djgpp/doc/rbinter/it/58/17.html #01758], [https://www.delorie.com/djgpp/doc/rbinter/it/59/17.html #01759], [https://www.delorie.com/djgpp/doc/rbinter/it/60/17.html #01760], [https://www.delorie.com/djgpp/doc/rbinter/it/61/17.html #01761], [https://www.delorie.com/djgpp/doc/rbinter/it/62/17.html #01762], [https://www.delorie.com/djgpp/doc/rbinter/it/63/17.html #01763], [https://www.delorie.com/djgpp/doc/rbinter/it/64/17.html #01764], [https://www.delorie.com/djgpp/doc/rbinter/it/65/17.html #01765]
 +
 
 +
== Software ==
 +
* [https://www.seasip.info/Unix/PSF/ PSF Tools]
 +
** cpi2psf, psfs2cpi - Read, write
 +
** cpicomp, cpidcomp - Compress, decompress
 +
** cpitest - Dump information about the file (not normally installed)
 +
* {{Deark}}
 +
 
 +
== Sample files ==
 +
* {{CdTextfiles|nopv07/015A/DOS5FIX.ZIP|DOS5FIX.ZIP}} → *.CPI
 +
* {{CdTextfiles|nightowl/nopv12/037A/TEXTFONT.ZIP|TEXTFONT.ZIP}} → *.CPI
 +
* [https://winworldpc.com/product/ms-dos/3x MS-DOS 3.30, at WinWorld] → "Microsoft MS-DOS 3.30 (5.25-360k)" → ... → *.CPI
 +
 
 +
[[Category:MS-DOS]]

Latest revision as of 12:41, 23 August 2025

File Format
Name CPI
Ontology
Extension(s) .cpi
Released ≤1987
For other "CPI" formats, see: Blu-ray Clip info, CPI (ColorLab), Marco Pixel Editor, Cartesian Perceptual Compression.

CPI is a DOS font or font-related file format.

There is also a DRFONT variant.

FreeDOS MODE also supports CPX files in addition to CPI; they are CPI files compressed with UPX as if they were COM files.

Contents

[edit] 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 downloaded to the printer.

[edit] Identification

CPI files begin with 0xff "FONT   ", or 0xff "FONT.NT".

[edit] Specifications

[edit] Software

  • PSF Tools
    • cpi2psf, psfs2cpi - Read, write
    • cpicomp, cpidcomp - Compress, decompress
    • cpitest - Dump information about the file (not normally installed)
  • Deark

[edit] Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox