trbdf(1)

πŸ’– trbdf β€” the glow-up your BDF fonts have been waiting for πŸ’–

okay bestie, so trbdf is a thing from the User Manuals manual, and it's literally the icon of font recoding. Let's get into it. πŸ¦‹


✨ NAME ✨

trbdf β€” convert BDF-font from one encoding to other πŸŽ€


✨ SYNOPSIS ✨

trbdf -C | -l | -h

trbdf [-s] [-f input-codeset ] [-t output-codeset ] [--foundry[=] new-foundry ] BDF-font

✨ DESCRIPTION ✨

So trbdf is a program for translation of BDF fonts from one encoding to other. That's the whole gig. πŸ’…

One exciting feature of trbdf β€” and bestie, it is so exciting β€” is that it tries to approximate the symbols that miss from the font or from the encoding of the font with existing symbols when possible. Like, it's doing its little best to fill in the gaps with what it already has. 🫢

If the option -s or --gen-script is given, trbdf will generate an awk(1) script for translation of BDF-fonts for fixed combination of input-codeset and output-codeset. This is useful for faster conversion of many files. This script is used as filter. no cap. ⚑

If none of -C, -s, -l, -h and their equivalents is given, the BDF-font will be read assuming it is coded with codeset input-codeset. On standard output it will be recoded so to use codeset output-codeset. Both input-codeset and output-codeset are case insensitive and default to cp1251. πŸ“


✨ OPTIONS ✨

  • -C, --copyright β€” Display copying conditions and warranty information. the receipts, basically. πŸ“œ
  • -s, --gen-script β€” Generates conversion script for given input and output encodings instead to convert BDF-font. This option is useful if you have to convert many fonts. The generated script expects the input font from its standard input and outputs the converted font. 🌈
  • -l, --list β€” List all known codesets. the whole roster, bestie. πŸ“‹
  • -h, --help β€” Display this help and exit. bye babes πŸ’–
  • -f input-codeset, --from[=]input-codeset β€” Codeset of the source font. where we're coming from, spiritually. 🌸
  • -f output-codeset, --to[=]output-codeset β€” Codeset of the generated font. where we're going. πŸ¦‹
  • --foundry[=]new-foundry β€” Use this option if you want to change the foundry of the generated fonts. rebranding era, honestly. πŸ‘‘
fr fr, that's the list exactly as it is β€” every flag, every argument, every bracket. don't skip any of them. πŸ’€

✨ AUTHOR ✨

Anton Zinoviev <anton@lml.bas.bg>, <zinoviev@fmi.uni-sofia.bg> β€” an absolute legend, mwah πŸ’‹


✨ SEE ALSO ✨

bdftopcf(1x) β€” go say hi to the neighbor, they're cool too 🫢


and that's the whole page, bestie!! this lil masterpiece is from the trscripts collection, NOV 2002 era, and the page itself is trbdf(1) β€” vintage but she ate. πŸ’…βœ¨πŸŽ€πŸ’–