Your company here, and a link to your site. Click to find out more.

cpi2psf - Man Page

extract a font from a DOS codepage (.CPI)


cpi2psf [--height=x] [--codepage=nnn] [--psf1] [--psf2] INPUTFILE [OUTPUTFILE]


cpi2psf extracts a font from a DOS codepage (.CPI) file. All known codepage file formats are supported (MSDOS, DRDOS, Windows NT, and Linux).



Extract the font with the specified height. Otherwise the first height found  will be used.


Extract only the specified codepage as a 256-character font. If this option is not present, all the characters of the requested size from all the codepages in the font will be extracted, with duplicates being merged. nnn must be a numeric codepage specifier such as 437 or 850.


Outputs in PSF1 format. It is recommended that this is only used if the  --codepage option is also present, otherwise the resulting PSF1 file may not hold all the characters from the codepage.


Outputs in PSF2 format (default).


If no filename is provided, the program will attempt to load its input file from standard input. The success of this operation depends on the internal structure of the CPI file, and the capabilities of the C  library.

See Also

psfs2cpi(1), cpicomp(1), cpidcomp(1)


John Elliott <jce@seasip.demon.co.uk>.

Referenced By

fnts2fon(1), psfs2cpi(1).

21 June, 2008 Version 1.0.8 PSF Tools