a newbie in trouble

Lars Hellström Lars.Hellstrom@math.umu.se
Wed, 27 Mar 2002 22:43:14 +0100


At 20.24 +0100 2002-03-27, rfuck@mines.edu wrote:
>Hi all,
> I am trying to install Adobe Caslon font from only their original AFM files.
>I've used fontinst to get the corresponding tfm and vf and fd files. Later I
>realized I did know how to construct the map file for the font to be
>understood
>by dvips or pdftex.
>I then used the finstmsc.sty to try to create a scratch for the map file, but
>TeX did not recognized many of the commands like \transformfont etc. So I
>have
>some questions:
>1) Do I need to actually have the pfb files for Adobe Caslon to actually
>see it
>displayed in DVI or Ps and pdf files?
>2) what is wrong with finstmsc.sty?

Well, there shouldn't be a \transformfont command in an finstmsc.sty
command file, so it sounds like you're trying to use one command file for
two purposes. The way it works it that you put a
\recordtransforms{mapcmds.tex} (or whatever) right after the \input
fontinst.sty and an \endrecordtransforms right before the   \bye. Then you
run it. The commands that actually describe mapfile entries to finstmsc.sty
will be written to mapcmds.tex, and you can use something like

\input finstmsc.sty
\resetstr{PSfontsuffix}{.pfb}
\adddriver{dvips}{caslon.map}
\input mapcmds
\donedrivers
\bye

to write the map file fragment to caslon.map.

Lars Hellström