fnt2vfont(1)

πŸ“¦ version 1.1.3, in nixpkgs unstable, ubuntu stonking

✨ fnt2vfont ✨

okay bestie, so fnt2vfont is a PSAF Tools situation β€” wait no, it's a PSF Tools situation, and it's here to convert a Windows font-resource file into BSD vfont format πŸ’– it's giving glow-up, it's giving format-shifting, it's giving iykyk


🌸 SYNOPSIS 🌸

fnt2vfont [--codepage=page] [--v1] [--v2] [--big-endian] [--basepoint=x]
[--codepage=x] [INPUTFILE [OUTPUTFILE]]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: fnt2vfont takes a Windows font-resource file (that's a .FNT, mwah) and converts it into BSD vfont format. that's the whole vibe. no cap. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • --v1 β€” output in the original vfont(5) format, okay? but heads up bestie because this format has ✨limits✨ and they are real: at most 256 characters, at most 127x127 pixels per character, and no Unicode directory. it's iconic but it's cramped, ngl.
  • --v2 β€” output in vfont2(5) format instead. this one lets you have more characters, bigger bitmaps, and Unicode πŸ¦‹ the catch? it's currently supported only by psftools utilities. so like, keep it in the family, yk?
  • --big-endian β€” when you're writing in the original vfont format, this makes a big-endian file, which is the one you want for platforms like SunOS. slay 🌈
  • --basepoint=x β€” okay this one needs a sec. in a vfont, every character has a basepoint, and when characters get printed, the basepoints are used to align them. the vertical position of the basepoint comes from the FNT file, no input needed. the horizontal position defaults to the bottom left-hand corner of character 65 (capital A) πŸ’… but if you want to, --basepoint=x lets you set it manually. main character energy, tbh.
  • --codepage=page β€” this adds a Unicode directory for the codepage you specify, and you can identify it by number or by name. peep psfpages(1) for the list of valid codepage names πŸ‘‘ and if you don't pass this option, the program will just assume codepage 437 for fonts in the "OEM" character set, and 1252 for fonts in the "ANSI" character set. it's got a default, she's self-sufficient πŸ’–
ngl, that --codepage flag shows up twice in the synopsis up top and that's just how it is, don't come for me, I'm reporting the facts fr fr 😭

🌟 SEE ALSO 🌟


πŸ‘‘ AUTHOR πŸ‘‘

John Elliott <seasip.webmaster@gmail.com>.


and that's the whole page bestie!! this was Version 1.1.3, dated 28 April, 2026, brought to you by the iconic PSF Tools β€” periodt, ily, go convert something pretty πŸ’œβœ¨

πŸ“¦ where this page comes from