MKTEXPK(1)
π NAME π
okay so the star of the show is mktexpk π and what it does is mktexpk - create a PK file for a font. it makes a pk file for a font β¨
πΈ SYNOPSIS πΈ
mktexpk [options] font [redirect]
π DESCRIPTION π
bestie, this page is NOT trying to be the whole story π the full docs for this version of TeX live in the info file or the manual Kpathsea: A library for path searching.
mktexpk is how you generate a pk file from the Metafont source files or type1 sources for a font, if it's possible π¦
if you give it a redirect, it has to look like >&n, where n is the file descriptor number. instead of standard output, that descriptor gets the name of the generated file π
honestly? you usually won't type this yourself. other programs call mktexpk for you π
β¨ OPTIONS β¨
mktexpk takes the following options, no cap:
--bdpi numβ sets the base device resolution π--dpi numβ generates the font at resolution num π₯--helpβ prints a help message and exits π«Ά--mag magβ the Metafont magnification that matches the combo of bdpi and dpi you picked β--mfmode modeβ the Metafont mode to use π§--destdir dirβ a directory name. if it's absolute, it gets used exactly as-is π otherwise it gets tacked onto the root destination directory set in the script π--versionβ prints version info and exits π
π BUGS π
okay this part is important, so listen up π
if you don't specify the mode, mktexpk tries to figure it out from bdpi. the way it does that is pretty primitive, lowkey π bdpi doesn't carry enough info to pin down one mode, so it's strongly recommended that you set the mode explicitly π«Ά
if the mode and bdpi don't match, the mode gets thrown out ποΈ
the dpi parameter is redundant, and it's not checked for consistency. worse? the program will fail if you pass the wrong dpi π
π¦ SEE ALSO π¦
mktexmf(1), mktextfm(1) π
π£ REPORTING BUGS π£
report bugs to tex-k@tug.org (https://lists.tug.org/tex-k) π
the TeX Live home page is https://tug.org/texlive/ π
bestie, that's the whole tea β this page was from TeX Live, dated 30 January 2020. go make some pk files and slay forever π β¨π
π¦ where this page comes from
- alpine 3.24: texmf-dist-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms