Here are step-by-step instructions for adding a PostScript font to
MiKTeX so that both dvips and yap (MiKTeX's .dvi viewer) can render the
font properly. (Note that I am assuming you already have the correct .tfm file
for the font and that you can compile your TeX file without errors.)
You will need the following files
- PFB: Adobe Type 1 font (.pfb)
- AFM: font metric file (.afm)
- TFM: TeX font metric file (.tfm)
.map file which tells dvips how to
embed the font
- PFM: PostScript Font Metrics file (.pfm) (OPTIONAL)
Note that dvips does not need the AFM file, but yap needs
both the PFB and AFM files. The PFM file is not used by the MiKTeX
system, but is necessary if you want other Windows applications (such
as Adobe Photoshop or Microsoft Word) to see the font.
- Let's assume that the Type 1 font is contained in the file
myfont.pfb, the Adobe font metric file in
and the TFM file in
- Copy the Type 1 font to a subdirectory of MiKTeX's Type 1 font
C:\texmf\fonts\type1. If there is not
already a subdirectory suitable for this font, create a new one.
- Copy the Adobe font metric file
to a subdirectory of MiKTeX's afm font directory,
If there is not already a subdirectory suitable for this font, create
a new one.
- Copy the
the dvips configuration directory with the other
files. There is usually a subdirectory of
for each font (for example, the
.map files for the
Bluesky Type 1 fonts are in
- Edit the dvips configuration file, usually
c:\texmf\dvips\config\config.ps and add the line
- Edit the file
updmap.cfg file which is usually
c:\texmf\miktex\config and add the line
- From the command line run
- Open the MikTeX Options GUI interface and choose the "General"
tab. Click on the "Refresh Now" button in the "File name database"
- You should now be able to view the font in both yap and dvips.