psf2bsd(1)
π psf2bsd β bestie edition π
okay so you know psf2bsd? it's a little tool from PSF Tools and it lives in section 1 of the manual, so yeah, it's a command you just run in your shell, no cap. let's get into it π«Ά
β¨ NAME β¨
psf2bsd β convert a PC Screen Font file to a BSD soft-font kernel header π
like... it takes your cute little .PSF font and turns it into a header the BSD kernel can vibe with. iconic behaviour honestly.
πΈ SYNOPSIS πΈ
psf2bsd [--name=NAME] [--typeface=NAME] [--encoding=ENC] [--first=FIRST]
[--last=LAST] [INPUTFILE [OUTPUTFILE]]
so yes, all those flags are optional, and the input and output files are optional too. it's giving "we'll figure it out" energy β¨
π¦ DESCRIPTION π¦
okay so the whole thing that psf2bsd does: it converts a font that's in the .PSF format β that's PC Screen Font β into the format used by the NetBSD wsfont kernel headers.
that's it. that's the job. it takes font, it makes kernel header. main character energy fr fr π
π OPTIONS π
--name=NAMEβ sets the name of the C structure that's gonna hold the font. defaults to'font'. for example,--name=bold8x16π--typeface=NAMEβ sets the displayed name of the typeface. for example,--name=Boldfaceπ--encoding=ENCβ sets the encoding to use. this should be one of theWSDISPLAY_FONTENC_*macros. and for convenience, bestie, you can ALSO use--encoding=437as shorthand forWSDISPLAY_FONTENC_IBM, and--encoding=819as shorthand forWSDISPLAY_FONTENC_ISOβ¨--first=FIRSTβ sets the first character to include in the output file π--last=LASTβ sets the last character to include in the output file π
π BUGS π
for anything other than the simplest test cases, horizontal alignment of the output will almost certainly look untidy. π
yeah. it's messy. we know. it's not a bug so much as a lifestyle, but they put it in the BUGS section so here we are. if you're doing anything fancier than the most basic test case, expect the columns to be a little... slanted. π
π AUTHOR π
John Elliott <seasip.webmaster@gmail.com>. π
and that's the whole page!! it's from PSF Tools, version 1.1.3, dated 28 April, 2026 β so like, take that energy with you and go convert some fonts, 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