cpi2psf(1)
β¨ cpi2psf β¨
okay bestie, welcome to the manual page for cpi2psf, one of the lil icons living in the PSF Tools set π it's a command-line girly and she's here to pull fonts out of DOS codepage files, and honestly? she ate.
πΈ NAME πΈ
cpi2psf β extract a font from a DOS codepage (.CPI) file π
π¦ SYNOPSIS π¦
[OUTPUTFILE]
literally the whole vibe in two lines, no cap β¨
π DESCRIPTION π
so here's the tea π: cpi2psf extracts a font from a DOS codepage (.CPI) file. and the way that it's not picky at all β every known codepage file format is supported, periodt. that means MSDOS, DRDOS, Windows NT, and Linux formats all get along with her. main character energy, honestly π
π₯ OPTIONS π₯
--height=xβ extract the font with the specified height π«Ά if you don't say anything, the first height found gets used. lowkey a "first come first served" situation.--codepage=nnnβ extract only the specified codepage as a 256-character font π if this option isn't present, then all the characters of the requested size from all the codepages in the font get extracted, with duplicates being merged. (yes bestie, she merges the dupes, we love a tidy queen π )nnnhas to be a numeric codepage specifier, like437or850β numbers only, okay?--psf1β outputs in PSF1 format β highly recommend you only use this one if the--codepageoption is also present, otherwise the resulting PSF1 file may not hold all the characters from the codepage π not her fault, PSF1 just doesn't have the range.--psf2β outputs in PSF2 format. this is the default, the go-to, the moment π
π BUGS π
okay so, a heads-up π: if no filename is provided, the program will attempt to load its input file from standard input. whether that actually works depends on the internal structure of the CPI file and the capabilities of the C library. so likeβ¦ it might slay, it might not. it's giving "we'll see" π no promises, bestie.
π SEE ALSO π
the whole friend group π«Ά go say hi.
π AUTHOR π
John Elliott <seasip.webmaster@gmail.com> π
that's it, that's the page π¦ this was Version 1.1.3, dated 28 April, 2026 β go extract some fonts, ily, bye bestie β¨π
π¦ where this page comes from
- nixpkgs unstable: psftools 1.1.3
- ubuntu stonking: psftools 1.1.3-1
- Copyright (c) 2005, 2007 John Elliott
- Copyright (C) 2005, 2007 John Elliott
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms