GFTYPE(1)
π gftype β the manual page, but make it cute β¨
okay bestie, welcome to gftype(1) from the General Commands Manual β yes this is a real Unix man page and yes we're doing this together π«Ά
β¨ NAME β¨
gftype β translate a generic font file for humans to read πΈ
Like... it takes a font file that only a computer could love and turns it into something you can actually read. it's giving translator, it's giving interpreter, it's giving bestie energy π
π¦ SYNOPSIS π¦
gftype [-i] [-m] gf_file_name [output_file_name]
that's it. that's the whole vibe. two little flags, a font file, and optionally somewhere to put the output π
π DESCRIPTION π
okay so first things first, real talk:
this manual page is not meant to be exhaustive. the complete documentation for this version of TeX lives in the info file or in the manual Web2C: A TeX implementation. so if you need the whole lore, go there, i'm just the highlights reel π
so. the gftype program translates a gf (generic font) file β the kind that gets output by, for example, mf(1) β into a file that humans can read. yes, humans. us. we can read it now. iconic π
but wait, there's more, because of course there is:
- it also doubles as a gf file-validating program β like, if
gftypecan read it, it's correct. that's the whole test. no cap π₯ - it also serves as an example of a gf-reading program for other software that wants to read gf files. so it's basically a tutorial AND a tool. main character energy fr fr π
now about that gf_file_name on the command line β it must be complete. like, fully, entirely, no shortcuts. why? because the resolution is part of the extension, so it would not make sense to append a default extension the way TeX or DVI-reading software does. that trick? doesn't work here. sorry babe π
and if you don't specify an output_file_name? the output goes to stdout. classic. love that for us β¨
π OPTIONS π
-iβ when this one's on the command line, the output file includes bitmap images of the characters. actual little pictures of your glyphs. obsessed π¦-mβ when this one's specified, you get a symbolic listing of the gf commands. the receipts, the lore, the play-by-play π
πΈ ENVIRONMENT πΈ
gftype goes looking for gf_file_name using the environment variable GFFONTS. π§
and if that's not set? it falls back to the variable TEXFONTS.
and if that's not set either? it just uses the system default. the backup backup plan. we love a safety net π
β SEE ALSO β
dvitype(1)pktype(1)- Donald E. Knuth et al., Metafontware.
go read those too, bestie, stay hydrated and stay curious π
π AUTHORS π
David Fuchs and Don Knuth wrote the program. it was published as part of the Metafontware technical report, which you can get from the TeX Users Group. and Paul Richards originally ported it to Unix. legends, all of them, no notes π
okay that's the whole page!! this was Web2C 2025, dated 16 June 2015 β thanks for scrolling all the way down, you're literally the best, mwah πβ¨π
π¦ 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