ie succie succ.\}
create a TFM file for a font (Autofont version)
autofont-mktextfm generates a TFM file for a given font name. The Autofont version is designed for PostScript Type 1 fonts. It generates TFM and VF files automatically from Adobe AFM files. It also modifies dvips’s psfonts.map configuration files to support any fonts it creates.
autofont-mktextfm takes the same arguments as mktextfm(1), and like that program, it is designed to be called automatically by tex(1) and related programs. To facilitate this, you should probably install a symbolic link in your path so that ‘mktextfm’ actually runs autofont-mktextfm. Leave the original mktextfm later in your path; autofont-mktextfm will run it for Metafonts and other fonts it cannot process itself.
autofont-mktextfm depends on PostScript PSres.upr files generated by autofont-mkpsres(1) or makepsres(1).
autofont-mktextfm assumes that TeX font names for PostScript fonts equal the relevant PostScript font names. (It does not adhere to the “fontname” standard that brought you pacrx.) Thus, the TeX font name Times-Roman corresponds to the PostScript Times-Roman font.
You can abbreviate font names in the Macintosh style if you prefer. This style eliminates all dashes from the font name, then preserves at most five characters from the first “word” and three characters from each succeeding “word” in the resulting name, where “words” are delimited by capital letters and/or digits. Thus, autofont-mktextfm will map TimesRom to Times-Roman, ACasReg to ACaslon-Regular, and LetteGot12PitBTRom to LetterGothic12PitchBT-Roman.
Autofont can also handle multiple-master fonts. To name a multiple-master font, append the numbers specifying the desired font instance to the font name, surrounded and separated by underscores. For example, AJensonMM_454_66_ specifies a version of Adobe Jenson with weight 454 and optical size 66. The final underscore is required.
autofont-mktextfm can parse and execute instructions embedded in a font name. Each instruction follows two dashes --. For example, Times-Roman--sl16 denotes an artificially slanted version of Times-Roman, and Helvetica--E8r--cn80--fsc denotes a version of Helvetica in the 8r encoding, condensed by 80%, and with faked small caps.
Specific instructions are:
autofont-mktextfm uses some simple heuristics to find the expert font name corresponding to a normal font name. Please report a bug if these heuristics fail on some font.
autofont-mktextfm writes its output files into a TeX Directory Structure hierarchy. It first searches your $TEXMF path for the first writable directory. In many web2c-based installations, this will be your "$HOME/texmf" directory. Then it places output files in type-specific specific subdirectories:
File type Directory Filename TFM TEXMF/fonts/tfm/autofont/TYPEFACE/ WHATEVER.tfm VF TEXMF/fonts/vf/autofont/TYPEFACE/ WHATEVER.vf psfonts.map TEXMF/dvips/ autofont.map
TEXMF is the writable TeX Directory Structure. TYPEFACE is the font’s family name, or “unknown” if that name cannot be determined. autofont-mktextfm will also update TEXMF/ls-R as required to reference any files it created.
Thus, to support autofont, you should do at least the following:
autofont-mktextfm uses environment variables and the Kpathsea library (see kpsewhich(1)) to locate resources and to determine where to place its generated output. In particular:
Report bugs and send patches and enhancement requests to firstname.lastname@example.org.
mktextfm(1), tex(1), kpsewhich(1), afm2tfm(1), mmafm(1), dvips(1), autofont-mkpsres(1), makepsres(1)
Eddie Kohler, email@example.com
See <http://www.lcdf.org/type/> for updates, and for the mminstance package, which contains mmafm.
Hey! The above document had some coding errors, which are explained below: