When I use a metafont font, pdflatex calls mf
to generate the pk font files.
I would like to change the resolution at which the pk files are created.
If I'm correct, the call stack is:
pdflatex
→ kpsewhich
→ mktexpk
→ mf-nowin
As reported here http://tug.org/texinfohtml/kpathsea.html#Glyph-lookup , kpsewhich
should call mktexpk
to generate a missing font and this agrees with the fact that mktexpk
is not one of the shell_escape_commands in texmf.cnf.
To change the mode and resolution options that are sent to mf I tried to modify mktex.cnf, but with no luck (tried also config.ps just in case; I also ensured that kpsewhich was finding the modified files, not others).
My target is ljfzzz with 1200 dpi; does anyone know how to set these as default settings?
Also, how should I call kpsewhich so that it generates the pk files? (of course, when the pk file does not already exists)
MWE - pdflatex the following:
\documentclass{article}
\usepackage{shuffle}
\begin{document}
$\shuffle$
\end{document}
(eventually delete the file shuffle10.600pk if you already have it)
\pdfpkmode{ljfzzz}\pdfpkresolution=1200
at the start of your document.