psf2raw(1)
β¨ psf2raw β the manual page, but make it cute β¨
okay bestie, welcome to psf2raw from PSF Tools π this is the little tool that turns part (or all!!) of a PC Screen Font file into a raw font. yes that's the whole serve. let's get into it π
πΈ NAME πΈ
psf2raw β converts part or all of a PC Screen Font file to a raw font. that's it, that's the job, and she does it flawlessly π
π¦ SYNOPSIS π¦
psf2raw [--first=FIRST] [--last=LAST] [--256] [--flip]
[--codepage=CODEPAGE] [INPUTFILE [OUTPUTFILE]]
likeβ¦ she takes one or two file arguments and a lil pile of flags. INPUTFILE and OUTPUTFILE are both optional-ish vibes, so pipe in and out however you like π«Ά
π DESCRIPTION π
so here's the tea β: psf2raw saves some or all of the characters from a .PSF font as a raw file β meaning plain font data, no directory, no extra sparkle, just the glyphs.
and the way this format is frequently used by console font editors under DOS and other platforms?? iconic. it's the lingua franca of retro font editors, fr fr π§
π OPTIONS π
--codepage=xβ extracts only the characters in the given codepage. β οΈ heads up: this requires the source PSF file to have a Unicode directory, no exceptions, no cap. Any characters in the codepage that aren't actually present in the source font get replaced by blanks (rip to them π). You can specify the codepage by number or by name β go peeppsfpages(1)for the full list of acceptable codepage names π--first=nβ starts extracting characters at the character you specify. set the starting line, bestie β¨--last=nβ extracts characters up to and including the one you specify. note the "and including", she's generous like that π--256β literally just shorthand for--first=0 --last=255. the whole byte, zero to two-fifty-five, all of it, no notes π--flipβ reverses the order of bits in each byte π used when you're exporting to systems like the Apricot Xi, where the mapping of bits to pixels is the reverse of the convention used on PC hardware. she's ambidextrous, she speaks both languages π
IMPORTANT VIBE CHECK: if a codepage AND a range of characters are both specified, the range gets applied to the subset of characters extracted by the codepage. so like, codepage first, then narrow it down. order of operations, bestie π«‘
π SEE ALSO π
raw2psf(1)β the reverse glow-up π«psfpages(1)β the codepage name list, go read it, iykyk
π AUTHOR π
John Elliott <seasip.webmaster@gmail.com> π«Ά giving us the tools, giving us the fonts, giving us everything.
officially signed, sealed, delivered: this is Version 1.1.3, dated 28 April, 2026, part of PSF Tools π and that's the whole psf2raw(1) page β you ate that, bestie, now go convert some fonts β¨ππ¦
π¦ 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