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: texlive-doc 2026.0-r0 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- centos-stream 10: texlive-texlive-scripts 13:20240311-6.el10 Β· LPPL-1.3c
- centos-stream 9: texlive-texlive-scripts 9:20200406-26.el9 Β· LPPL
- debian bookworm: texlive-base 2022.20230122-3
- debian trixie: texlive-base 2024.20250309-1
- fedora 43: texlive-texlive-scripts 11:svn66584-93.fc43 Β· LPPL-1.3c
- fedora 43: texlive-texlive-scripts 11:svn66584-95.fc43.1 Β· LPPL-1.3c
- fedora 44: texlive-texlive-scripts 12:svn78361-105.fc44 Β· LPPL-1.3c
- fedora 44: texlive-texlive-scripts 12:svn78361-111.fc44 Β· LPPL-1.3c
- opensuse-leap 16.0: texlive-scripts-doc 2025.221.svn74474-160000.3.1 Β· LPPL-1.0
- ubuntu jammy: texlive-base 2021.20220204-1
- ubuntu noble: texlive-base 2023.20240207-1
- ubuntu questing: texlive-base 2024.20250309-1
- ubuntu resolute: texlive-base 2025.20260124-1
- ubuntu stonking: texlive-base 2026.20260711-2
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms