A different problem with fontinst

Rebecca and Rowland rebecca@astrid.u-net.com
Wed, 15 Jul 1998 05:41:31 +0100


I'm trying to use fontinst 1.8 to create a set of vfs to use old-style
digits by default with OT1 encoded cmr.

Part of the fontinst file I'm using looks like this:

%&Plain
\input fontinst.sty

\installfonts
%
\installfamily{OT1}{cmrod}{\hyphenchar\font45 }

      \installfont {cmcscod10} {cmcsc10,  cmmi10,dostretch} {OT1cj}
                   {OT1} {cmrod}{m}{sc} {<5><6><7><8><9><10><10.95><12>
                                         <14.4><17.28><20.74><24.88>}

\endinstallfonts

dostretch.mtx contains this code:

\relax

\metrics

\ifisint{italicslant}\then\setint{fontdimen(1)}{\int{italicslant}}\fi
\ifisint{interword}\then\setint{fontdimen(2)}{\int{interword}}\fi
\ifisint{stretchword}\then\setint{fontdimen(3)}{\int{stretchword}}\fi
\ifisint{shrinkword}\then\setint{fontdimen(4)}{\int{shrinkword}}\fi
\ifisint{xheight}\then\setint{fontdimen(5)}{\int{xheight}}\fi
\ifisint{quad}\then\setint{fontdimen(6)}{\int{quad}}\fi
\ifisint{extraspace}\then\setint{fontdimen(7)}{\int{extraspace}}\fi

\endmetrics


The problem is that cmscod10 doesn't turn out anything like what I
expected: it has no entries for any lower-case glyphs, glyphs '13 to '21
(uparrow to dotless j), or glyphs '31 to '34 (ss to oslash).

Can anyone explain why this is and what can be done about it?

Rowland.