# phpman > man > mktexpk(1)


*Source: tldr-pages*

---

[MKTEXPK(1)](https://www.chedong.com/phpMan.php/man/MKTEXPK/1/markdown)                                  User Commands                                 [MKTEXPK(1)](https://www.chedong.com/phpMan.php/man/MKTEXPK/1/markdown)



## NAME
       mktexpk - create a PK file for a font

## SYNOPSIS
       **mktexpk** [_options_] _font_ [_redirect_]

## DESCRIPTION
       This  manual page is not meant to be exhaustive.  The complete documentation for this version
       of TeX can be found in the info file or manual _Kpathsea:_ _A_ _library_ _for_ _path_ _searching_.

       **mktexpk** is used to generate a _pk_ file from the Metafont source files  or  type1  sources  for
       _font_, if possible.

       If _redirect_ is given, it must be string of the form **>&**_n_ where _n_ is the number of the file de‐
       scriptor which is to receive, instead of standard output, the name of the generated file.

       **mktexpk** is typically called by other programs, rather than from the command line.

## OPTIONS
       **mktexpk** accepts the following options:

       **--bdpi** _num_
              Set the base device resolution.

       **--dpi** _num_
              Generate the font at resolution _num_.

       **--help** Print help message and exit.

       **--mag** _mag_
              The Metafont magnification that corresponds to the combination of _bdpi_  and  _dpi_  that
              has been specified.

       **--mfmode** _mode_
              The Metafont mode to use.

       **--destdir** _dir_
              A  directory  name.  If the directory is absolute, it is used as-is.  Otherwise, it is
              appended to the root destination directory set in the script.

### --version
              Print version information and exit.

## BUGS
       If the _mode_ is not specified, **mktexpk** tries to determine it from _bdpi_.  The manner  in  which
       this is done is primitive.  Since _bpdi_ doesn't provide sufficient information to uniquely de‐
       termine a _mode_ it is strongly recommended that it be specified explicitly.

       If the _mode_ and _bpdi_ don't match, the _mode_ is discarded.

       The _dpi_ parameter is redundant, but is not checked for consistency.  Worse, the program  will
       fail if the wrong _dpi_ is specified.

## SEE ALSO
       [**mktexmf**(1)](https://www.chedong.com/phpMan.php/man/mktexmf/1/markdown), [**mktextfm**(1)](https://www.chedong.com/phpMan.php/man/mktextfm/1/markdown).

## REPORTING BUGS
       Report bugs to: <tex-k@tug.org> (<https://lists.tug.org/tex-k>)
       TeX Live home page: <https://tug.org/texlive/>



TeX Live                                   30 January 2020                                [MKTEXPK(1)](https://www.chedong.com/phpMan.php/man/MKTEXPK/1/markdown)
