cpi2psf(1)

πŸ“¦
version 1.1.3 Β· 2 versions
, in nixpkgs unstable, ubuntu stonking

✨ 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 πŸ’…) nnn has to be a numeric codepage specifier, like 437 or 850 β€” numbers only, okay?
  • --psf1 β€” outputs in PSF1 format ⭐ highly recommend you only use this one if the --codepage option 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