| 1 |
.TH PKTOGF 1 "25 January 2026" "Web2C 2026" |
| 2 |
.\"===================================================================== |
| 3 |
.if n .ds MF Metafont |
| 4 |
.if t .ds MF Metafont |
| 5 |
.if t .ds TX \fRT\\h'-0.10m'\\v'0.17v'E\\v'-0.17v'\\h'-0.06m'X\fP |
| 6 |
.if n .ds TX TeX |
| 7 |
.\"===================================================================== |
| 8 |
.SH NAME |
| 9 |
pktogf \- convert packed font files to generic font files (both bitmaps) |
| 10 |
.SH SYNOPSIS |
| 11 |
.B pktogf |
| 12 |
.RB [ -v ] |
| 13 |
.I pk_file |
| 14 |
.RI [ gf_file ] |
| 15 |
.\"===================================================================== |
| 16 |
.SH DESCRIPTION |
| 17 |
The |
| 18 |
.B pktogf |
| 19 |
program converts a packed font bitmap file |
| 20 |
.RI ( pk ) |
| 21 |
to a generic font bitmap file |
| 22 |
.RI ( gf ). |
| 23 |
Packed |
| 24 |
font files are much smaller than the corresponding |
| 25 |
.I gf |
| 26 |
files, but you may want to convert to \fIgf\fP in order to use |
| 27 |
.BR gftype (1) |
| 28 |
and |
| 29 |
.BR gftodvi (1) |
| 30 |
utility programs. |
| 31 |
.PP |
| 32 |
The |
| 33 |
.I pk_file |
| 34 |
on the command line must include the resolution, but can omit the suffix |
| 35 |
"pk". The |
| 36 |
.I gf_file |
| 37 |
defaults to the same base name as |
| 38 |
.IR pk_file , |
| 39 |
and it is placed in the current |
| 40 |
working directory with the |
| 41 |
.B gf |
| 42 |
suffix replacing |
| 43 |
.BR pk . |
| 44 |
For example, the input file |
| 45 |
.I /some/directory/io.300pk |
| 46 |
would become |
| 47 |
.IR io.300gf . |
| 48 |
.\"===================================================================== |
| 49 |
.SH OPTIONS |
| 50 |
See |
| 51 |
.BR tex (1) |
| 52 |
for details of command-line parsing. |
| 53 |
By default, |
| 54 |
.B pktogf |
| 55 |
operates silently. With the \fB-v\fP (a.k.a\&. \fB-verbose\fP) option, |
| 56 |
the version number of the program and statistics about the |
| 57 |
unpacking are output to stdout. |
| 58 |
.PP |
| 59 |
The standard |
| 60 |
.B -help |
| 61 |
and |
| 62 |
.B -version |
| 63 |
options are also supported. |
| 64 |
.\"===================================================================== |
| 65 |
.SH ENVIRONMENT |
| 66 |
The program looks for |
| 67 |
.I pk_file |
| 68 |
using the environment variables PKFONTS, TEXPKS, GLYPHFONTS, and |
| 69 |
TEXFONTS, in that order. If none are set, it uses the system default. |
| 70 |
See the Kpathsea manual at https://tug.org/kpathsea for the details of |
| 71 |
the searching. |
| 72 |
.\"===================================================================== |
| 73 |
.SH "SEE ALSO" |
| 74 |
.BR gftodvi (1), |
| 75 |
.BR gftopk (1), |
| 76 |
.BR gftype (1), |
| 77 |
.BR pktype (1). |
| 78 |
.br |
| 79 |
Donald E. Knuth et al., |
| 80 |
.IR \*(MFware . |
| 81 |
.PP |
| 82 |
Package page on CTAN: https://ctan.org/pkg/pktogf |
| 83 |
.br |
| 84 |
Section in the Web2c manual: |
| 85 |
https://tug.org/texinfohtml/web2c.html#pktogf-invocation |
| 86 |
.br |
| 87 |
Typeset source code, including file format descriptions: |
| 88 |
https://ctan.org/pkg/knuth-pdf |
| 89 |
.\"===================================================================== |
| 90 |
.SH AUTHORS |
| 91 |
Tomas Rokicki wrote the program. |
| 92 |
Pierre MacKay adapted it for compilation with web2c. |
| 93 |
.PP |
| 94 |
Public discussion list and bug reports: https://lists.tug.org/tex-k |