GFTOPK(1)
β¨ 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,gftodvioperates 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:
- Package page on CTAN:
https://ctan.org/pkg/gftopk - Section in the Web2c manual:
https://tug.org/texinfohtml/web2c.html#gftopk-invocation - Typeset source code, including file format descriptions:
https://ctan.org/pkg/knuth-pdf
π 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