CPI

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
:''For other "CPI" formats, see: [[Blu-ray Clip info]], [[CPI (ColorLab)]], [[Marco Pixel Editor]], [[Cartesian Perceptual Compression]].''
 
:''For other "CPI" formats, see: [[Blu-ray Clip info]], [[CPI (ColorLab)]], [[Marco Pixel Editor]], [[Cartesian Perceptual Compression]].''
  
'''CPI''' is a file format describing DOS code page fonts.
+
'''CPI''' is a DOS font or font-related file format.
  
There is also a compressed "DRFONT" variant.
+
There is also a [[DRFONT]] variant.
  
 
[[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]].
 
[[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]].
  
== Identification ==
+
== Discussion ==
CPI files normally begin with {{magic|0xff "FONT   "}}, or {{magic|0xff "FONT.NT"}}.
+
A CPI file typically contains fonts from a single typeface, with support for multiple code pages, each rendered at multiple font sizes.
  
DRFONT files begin with {{magic|0x7f "DRFONT "}}.
+
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 ==
 
== Specifications ==
Line 23: Line 26:
  
 
== Software ==
 
== Software ==
* [http://www.seasip.info/Unix/PSF/ PSF Tools]
+
* [https://www.seasip.info/Unix/PSF/ PSF Tools]
 
** cpi2psf, psfs2cpi - Read, write
 
** cpi2psf, psfs2cpi - Read, write
 
** cpicomp, cpidcomp - Compress, decompress
 
** cpicomp, cpidcomp - Compress, decompress
 
** cpitest - Dump information about the file (not normally installed)
 
** cpitest - Dump information about the file (not normally installed)

Revision as of 15:48, 21 August 2025

File Format
Name CPI
Ontology
Extension(s) .cpi
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

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 0xff "FONT   ", or 0xff "FONT.NT".

Specifications

Software

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

Variants
Actions
Navigation
Toolbox