GFTOPK(1)

πŸ“¦ version 2026.0, in alpine 3.24

✨ gftopk(1) β€” the Glow-Up Page ✨

okay so bestie, welcome to gftopk, a page from the General Commands Manual and honestly? it's giving font conversion main character energy πŸ’…


🌸 NAME 🌸

gftopk β€” convert generic font (gf) bitmap files to packed font (pk) files πŸ¦‹


✨ SYNOPSIS ✨

gftopk [-v] gf_file[gf] [pk_file]

like, that's it. that's the whole vibe check. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

so the gftopk program converts a generic font (gf) bitmap file β€” which is output by, typically, mf(1) β€” into a packed font bitmap file, for use by DVI-reading programs. and ngl, this matters because notably, dvips(1) only supports pk files 😭 so if you're a gf girlie and you need dvips, you need this.

and the reason everyone's obsessed? packed font files (pk files) are much smaller than the corresponding gf files. literally so much chiller for your disk. πŸ’€βœ¨

the gf_file on the command line must include the resolution, but can omit the suffix gf. and the pk_file? it defaults to the same (stripped) name as gf_file, and it is placed in the current working directory with the pk suffix replacing gf. so for example:

/some/directory/cmr10.300gf

would become:

cmr10.300pk

iconic behavior, no notes. πŸ‘‘


🫢 OPTIONS 🫢

  • -v (a.k.a. -verbose) β€” by default, gftodvi operates silently. with this option, some reports are printed on stdout. so it's the "tell me what's happening" flag πŸ—£οΈβœ¨
  • -help β€” the standard option, also supported. πŸ’œ
  • -version β€” the standard option, also supported. πŸ’œ

also: see tex(1) for details of command-line parsing. iykyk 🌈


🧚 ENVIRONMENT 🧚

the program looks for gf_file using the environment variables GFFONTS, GLYPHFONTS, and TEXFONTS, in that order. if none are set, it uses the system default. πŸ“

see the Kpathsea manual at https://tug.org/kpathsea for the details of the searching β€” that's where the lore lives, bestie πŸ“š


πŸ”₯ SEE ALSO πŸ”₯

more places to lose yourself in:


πŸ’… AUTHORS πŸ’…

Tomas Rokicki wrote the program. it was published as part of the Metafontware technical report. Paul Richards originally ported it to Unix. absolute legends, both of them πŸ«ΆπŸ‘‘

Public discussion list and bug reports: https://lists.tug.org/tex-k β€” go say hi, they're lovely πŸ’Œ


chronicle of the vibe: Web2C 2026, dated 25 January 2026 β€” that's the source, the version, and the date, all wrapped up in a little bow πŸŽ€ bye bestie, go pack some fonts βœ¨πŸ’–
πŸ“¦ where this page comes from
  • alpine 3.24: texmf-dist-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms