GFTOPK(1)
π GFTOPK β the gftopk manual page, bestie edition π
okay so you're in the General Commands Manual section, page GFTOPK(1), and this is literally the glow-up story of font files. buckle up π
β¨ NAME β¨
gftopk β convert generic font files to packed font files. it's giving "make it smaller, make it cuter" π
πΈ SYNOPSIS πΈ
gftopk [-v] gf_file_name [pk_file_name]
π¦ DESCRIPTION π¦
okay first things first, bestie: this manual page is not meant to be exhaustive. the complete documentation for this version of TeX lives in the info file or manual Web2C: A TeX implementation. so like, this is the vibes summary, not the whole saga π
the gftopk program converts a generic font file (the kind output by, for example, mf(1)) into a packed font file for use by DVI-reading programs. packed font files (pk files) are much smaller than the corresponding gf files, so they're generally the font format of choice. lowkey iconic of them honestly β¨
the gf_file_name on the command line must be complete. why? because the resolution is part of the extension, so it would not make sense to append a default extension like TeX or DVI-reading software does. no default-extension magic here, we're being precise π―
the pk_file_name defaults to the same (stripped) name as gf_file_name, and it gets placed in the current working directory with the pk suffix replacing gf. for example, the input file cmr10.300gf would become cmr10.300pk. slay, glow-up complete π
β¨ OPTIONS β¨
-vβ unless the-vswitch is given,gftopkoperates silently. with-v, the version number of the program and statistics about the packing are output tostdout. so if you want the receipts, pass-v, and if you want peace and quiet, don't π«Ά
π ENVIRONMENT π
gftopk goes looking for gf_file_name first in the current directory. if it's not present there, it uses the environment variable GFFONTS. if that is not set, it uses the variable TEXFONTS. if that is not set, it uses the system default. it's a whole search-chain moment, iykyk π
see tex(1) for the details of the searching. (yes, the details are over there, not here. go read that one too, bestie π)
π SEE ALSO π
π AUTHORS π
Tomas Rokicki wrote the program. it was published as part of the Metafontware technical report, available from the TeX Users Group. Paul Richards originally ported it to Unix. legends, fr fr π«Ά
no cap, that's the whole page. every flag, every variable, every path, every example β all preserved, just with way better energy π
and that's a wrap on this Web2C 2025 era manual page, dated 16 June 2015. thanks for reading, bestie, go convert some fonts π¦β¨π
π¦ where this page comes from
- alpine 3.24: texlive-doc 2026.0-r0 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- fedora 44: texlive-mfware 12:svn77830-105.fc44 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: texlive-mfware 12:svn77830-111.fc44 Β· LicenseRef-Fedora-Public-Domain
- opensuse-leap 16.0: texlive-mfware-doc 2025.221.svn73848-160000.3.1 Β· SUSE-Public-Domain
- ubuntu resolute: texlive-binaries 2025.20250727.75242+ds-5build1 Β· TeX-Live
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms