outline-files in map-fragments

Christian H. Kuhn Christian.Kuhn@qno.de
Sat, 28 Sep 2002 18:04:27 +0200


Hi Fernando,

"Fernando Q. Gouvea" <fqgouvea@colby.edu> on Sat, Sep 28, 2002 at 11:17:17AM -0400:
> I've never been able to quite understand how this is used. Can someone post
> a sample.tex that uses the map fragment writer?
-----------inst5cax.tex--------------
\input fontinst.sty
\recordtransforms{5caxmap.tex}
\installfonts

\transformfont{5car8r}{\reencodefont{8r}{\fromafm{5car8a}}}
\transformfont{5car8xa}{\fromafm{5car8x}}

\installfamily{8r}{5cax}{}
\installfamily{OT1}{5cax}{}
\installfamily{T1}{5cax}{}
\installfamily{TS1}{5cax}{}

\installrawfont{5car8r}{5car8r,8r}{8r}{8r}{5cax}{m}{n}{}
\installfont{5car9t}{5car8r,5car8xa,latin}{OT1}{OT1}{5cax}{m}{n}{}
\installfont{5car9e}{5car8r,5car8xa,latin}{T1}{T1}{5cax}{m}{n}{}
\installfont{5car9c}{5car8r,5car8xa,textcomp}{TS1}{TS1}{5cax}{m}{n}{}

\endinstallfonts
\endrecordtransforms
\bye
---------------------------------------

The produced 5caxmap.tex is further processed by

----------5camapdriver.tex-------------
\input finstmsc.sty
% here comes the resetstr command Lars mentioned in his answer.
% I did not test it, so perhaps its incorrect.
\resetstr\PSfontsuffix\.pfb

\adddriver{dvips}{5ca.map}
\input 5caxmap.tex
\donedrivers
\adddriver{dvipdfm}{5ca.dvipdfm.map}
\input 5caxmap.tex
\donedrivers
\bye
---------------------------------------

Perhaps you will delete the resetstr-line and correct the maps by
hand.

Kind regards,
Chris