vfont2bdf(1)
π vfont2bdf(1) β the PSF Tools era π
okay bestie, sit down, hydrate, because this little icon (vfont2bdf, she's part of the PSF Tools family) is about to turn your font files into serving BDF realness. π¦
β¨ NAME β¨
vfont2bdf β convert part or all of a BSD vfont file to an X11 BDF. that's it, that's the whole job, and she eats every time π
π SYNOPSIS π
vfont2bdf [--first=FIRST] [--last=LAST] [--256] [--fontname=NAME]
[--defchar=INDEX] [--ascent=VALUE] [--descent=VALUE]
[--codepage=CODEPAGE] [--iso10646] [INPUTFILE [OUTPUTFILE]]
like, look at her. two optional files at the end, a whole lil wardrobe of flags up front. iconic. π
πΈ DESCRIPTION πΈ
vfont2bdf saves some or all characters from a .PSF font to an X11-format BDF font file. yes bestie, she's saving your faves, and she's saving them in BDF. π
and then β listen β the resulting file should then be tidied up in an editor such as xmbdfed(1) before being installed. no cap, she does NOT clean up after herself, that's your job, the output is giving raw and you gotta style it before it goes out. π«Ά
π OPTIONS π
--codepage=xβ extracts only the characters in the given codepage. (this needs the source PSF file to have a Unicode directory, btw, so no directory = no dice π). Any characters in the codepage that are not present in the source font get replaced by blanks β so they show up, they just show up empty, lmao. you can name the codepage by number or by name; go checkpsfpages(1)for the list of acceptable codepage names. π--first=nβ extracts characters starting at the specified character. where the range begins, basically. β¨--last=nβ extracts characters up to and including the specified character. inclusive, always, she's polite like that. π--256β equivalent to--first=0 --last=255. the whole first 256, no notes, periodt. π₯--fontname=nameβ sets the XLFD name of the font being output. give your baby a name, she deserves it. π--ascent=nβ sets the ascent (that's the pixels between the character baseline and the top of the character cell, iykyk). if this is not entered, the value from character 65 ('A') is used. soAis lowkey the blueprint. π--descent=nβ sets the descent (the pixels between the character baseline and the bottom of the character cell). if this is not entered, the value from character 65 ('A') is used. again withA. she's the main character fr fr. β--defchar=nβ sets the number of the default character to use. β¨--iso10646β if this option is present and the source file has a Unicode directory, the font will encode the ID of each character as its Unicode position. otherwise, the character's ID is equal to its position in the file. that's the whole vibe check right there. π
and one more thing bestie, this one's important: if a codepage and a range of characters are both specified, the range is applied to the subset of characters extracted by the codepage. so the codepage goes first, the range narrows it down. stack it, don't fight it. π
π BUGS π
the BDF needs tidying up after generation, as mentioned above. yeah. she said what she said. not me telling you twice but like, she is telling you twice. go open that editor. π§
π¦ SEE ALSO π¦
psf2bdf(1), xmbdfed(1), psfpages(1)
the whole friend group, honestly. go say hi. π₯°
π AUTHOR π
John Elliott <seasip.webmaster@gmail.com>.
and that's the whole page, bestie!! this was Version 1.1.3, dated 28 April, 2026, and she's still slaying. mwah. π πβ¨π
π¦ where this page comes from
- nixpkgs unstable: psftools 1.1.3
- ubuntu stonking: psftools 1.1.3-1
- Copyright (c) 2005, 2007, 2024 John Elliott
- Copyright (C) 2005, 2007, 2024 John Elliott
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms