when LATEX detect a command that indicates using a new font, such as \usefont{s_enc}{s_family}{s_series}{s_shape}\selectfont, the LATEX do following things in order.
- search for fd file named s_encs_family, e.g. t1myfont.fd, or failed if there is no such file.
- get the tfm name for such a font which has the attributes {s_enc}{s_family}{s_series}{s_shape} from the fd file.
- search for the tfm font file or failed if the font is not exist.
I use yap to watch the file generated by LATEX will got a wrong message "font not loadable". and details
Making PK font:
e:\pkg\cTeX\texmf\miktex\bin\makepk.exe --verbose sfont 600 600 magstep(0.0) ljfour
Trying to make PK font "sfont" (at 600 DPI)...
"makemf" --verbose "sfont"
"ttf2pk" -q -t "sfont"
makepk: "sfont.pk" could not be created.
Loading 'cmr10' instead.
Do the following command to get the new font working with PDFLATEX and yap
- ttf2tfm sfont.ttf >>ttf2pk.cfg