gf2pbm(1)

πŸ’– gf2pbm β€” bestie's guide to turning one (1) font character into a PBM πŸ’–

okay so real talk, this is gf2pbm(1) from the General Commands Manual, and it's lowkey a little legend that does one thing and does it flawlessly. let's get into it 🫢


✨ NAME ✨

gf2pbm β€” convert a character from a GF font file to PBM format

like. that's it. that's the whole job. and she ATE. πŸ’…


🌸 SYNOPSIS 🌸

gf2pbm [options] GF-file

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this manual page is just a lil quick rundown of the gf2pbm command, no biggie. here's the tea: gf2pbm is a program that takes a single character out of a METAFONT-produced GF font file and converts it into PBM format. one glyph. that's her whole main character moment. ✨

and why tho? because mftrace(1) uses it internally β€” it feeds the result to autotrace(1) so that autotrace(1) can create a Postscript outline description of the character. so she's not even doing it for the fame, she's doing it for the plot. iconic behavior tbh πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -b β€” dump a bitmap file. just. yeet the bitmap out there πŸ’Ύ
  • -s β€” show glyph size. let's see how big this baby is πŸ“
  • -n NUM β€” process glyph number NUM. pick your fighter, bestie πŸ”’
  • -o FILE β€” output to FILE instead of stdout. redirect the vibes wherever you want πŸ“
  • -h β€” show a summary of options. the lil cheat sheet, we love her πŸ™ˆ
  • -d β€” display debugging information. for when you gotta snoop πŸ‘€

πŸ’€ EXIT STATUS πŸ’€

here's the vibe check, fr fr:

  • status 0 if it worked β€” slay, we're so back πŸŽ‰
  • status 1 if the glyph you asked for did not exist β€” she's not here, she never was 😭
  • status 2 if there was some other error β€” something else went wrong, and honestly? rude πŸ’€

🌈 SEE ALSO 🌈

mf(1), pktrace(1).

the whole girl squad. go say hi. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

gf2pbm is based on Paul Vojta's Xdvi, and was munged by Han-Wen Nienhuys <hanwen@xs4all.nl>. this manual page was written by Julian Gilbey <jdg@debian.org>, for the Debian GNU/Linux system (but may be used by others). legends only, no cap. πŸ’œ


and that's the whole page babes β€” gf2pbm(1), last touched February 11, 2002 πŸŽ‚ (yes she's been serving since 2002 and she has NOT missed a day). mwah, go convert a glyph, you got this πŸ“πŸ§šβœ¨