Linux Commands Examples

A great documentation place for Linux commands


create a PK file for a font

see also : mktexmf - mktextfm


mktexpk [options] font [redirect]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


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 descriptor 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.


mktexpk accepts the following options:

Set the base device resolution.

--dpi num

Generate the font at resolution num.


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.


Print version information and exit.


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 determine 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 , mktextfm .

How can this site be more helpful to YOU ?

give  feedback