PKTOGF(1)
π PKTOGF β like, the whole vibe π
okay bestie, pull up a chair π«Ά this is pktogf, straight out of the General Commands Manual (section 1, the classic). it's the little tool that turns your packed fonts into generic fonts. she's small, she's quiet, she's doing the most. let's get into it π
β¨ NAME β¨
pktogf β convert packed font files to generic font files π
πΈ SYNOPSIS πΈ
pktogf [-v] pk_file_name [gf_file_name]
π¦ DESCRIPTION π¦
okay so first thing, this manual page is not meant to be exhaustive, bestie. the complete documentation for this version of TeX lives in the info file or in the manual Web2C: A TeX implementation. this is the appetizer, not the whole meal π
so what does she actually do? the pktogf program converts a packed font file (pk) to a generic font file (gf). packed font files are much smaller than the corresponding gf files β like, dramatically smaller β but some DVI readers only understand gf files. so if your DVI reader is being picky, that's literally why this program exists. main character energy, honestly π
now the important bit, and I need you to lock in π β the pk_file_name on the command line must be complete. like, fully spelled out. because the resolution is part of the extension, it would not make sense to append a default extension as is done with TeX or DVI-reading software. the resolution is baked into the name, so auto-completing it would be chaos π
the gf_file_name defaults to the same (stripped) name as pk_file_name, and it gets placed in the current working directory, with the gf suffix replacing pk. for example, the input file io.300pk would become io.300gf. cute, right? the 300 stays, the suffix swaps. slay β¨
π OPTIONS π
-vβ unless this switch is given,pktogfoperates silently π€« (she's mysterious, she's demure). with-v, the version number of the program and statistics about the unpacking are output to stdout. so if you wanna see the receipts, pass-v. periodt π
π ENVIRONMENT π
pktogf looks for pk_file_name using the environment variable PKFONTS. and if that's not set? she goes looking down the list, in order:
PKFONTS- if that's not set β
TEXPKS - if that's not set β
TEXFONTS - if that's not set β the system default
so yeah, she's got backup plans on backup plans. iconic π
see tex(1) for the details of the searching β that's where the whole lookup saga is explained π
π« SEE ALSO π«
π AUTHORS π
Tomas Rokicki wrote the program π and Pierre MacKay adapted it for compilation with web2c. two legends, one font converter. we love to see it π«Ά
and that's the whole thing bestie! this page came to you from Web2C 2025, dated 16 June 2015 β yeah, she's been holding it down since 2015 and still eating every time πΈβ¨ go convert some fonts, ily, bye π π
π¦ 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