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 πŸ’…βœ¨πŸŒˆ