Web2C uses mktex programs to build missing fonts. The most important one is mktexpk that is called by the dvi drivers like windvi or dvips to generate pk files for missing fonts (see the mktexpk manpage for further informations about mktexpk).
Let us first discuss where generated pk files are stored. By default, mktexpk stores the font in
c:\TeX\texmf\fonts\pk\mfmode\supplier\typeface\fontname.xxxpk |
where xxx is the resolution of the font and the values for supplier and typeface are taken from the path of the mf file that was used to generate the pk file.
Examples:
C:\TeX\texmf\fonts\source\public\cm\cmr10.mf
Supplier = public; typeface = cm
C:\TeX\texmf\fonts\source\jknappen\ec\ecrm1000.mf
Supplier = jknappen; typeface = ec
You can configure where the mktex programs will place the produced files by setting the MT_FEATURES variable in the file mktex.cnf. The following settings are allowed:
Important note: Be sure to set the VARTEXFONTS variable to a proper setting if you use this feature. For this edit the file texmf.cnf (you can use kpsewhichtexmf.cnf to find out where it is located, normaly in ...\texmf\web2c), find the line where VARTEXFONTS is defined (VARTEXFONTS=...) and set it to the proper directory. One interesting directory to set VARTEXFONTS to is $TEXMFLOCAL/fonts. This way, all users at your site will share generated fonts files.
To change the MT_FEATURES setting proceed as follows.
: ${MT_FEATURES=setting1:setting2:setting3} |
c:\TeX\texmf\web2c> copy con mktexnam.opt ^Z |