The generation of PK files is under control of the kpathsea library through the
use of mktexpk.exe. You can choose the destination for generated files — the
scheme is explained in detail in the kpathsea documentation.
The main points are:
- any generated file will go in the same texmf tree as the one in which
the font source has been found,
- if the source directory is not writable, the directory named by
VARTEXFONTS will be used, so you had better set this variable to
something meaningful in texmf.cnf
- MT_FEATURES can be set either in mktex.cnf or in your environment
to control the naming of generated files: you can add 'dosnames',
'nomode', 'stripsupplier', 'striptypeface', 'fontmaps' and 'varfonts'
to the features. Feel free to experiment with them by setting
MT_FEATURES in the environment and checking with 'mktexnam
cmr10' for the result you want.