oldstyle numbers

Rolf Marvin Bøe Lindgren r.m.b.lindgren@usit.uio.no
Wed, 8 Dec 1999 07:23:28 -0500


I've tried all the tricks, including Lars's, but none seem to achieve
what I would like to accomplish.

I have fontinst 1.910, and Lars's suggestion

------------------------------------------------------------------------
\tt
\input fontinst.sty
\installfonts

% First reencode fonts (not necessary if these are left from a previous
% run, since \latinfamily will do this).
\transformfont{psbrc8r}{\reencodefont{8r}{\fromafm{psbrc8a}}}
\transformfont{psbrij8r}{\reencodefont{8r}{\fromafm{psbrij8a}}}
\transformfont{psbbj8r}{\reencodefont{8r}{\fromafm{psbbj8a}}}
\transformfont{psbbij8r}{\reencodefont{8r}{\fromafm{psbbij8a}}}

% Then change the glyph names. The newly created -8x fonts won't be 8x
% encoded at all, but that doesn't matter, since virtual fonts generated
% from them will use to the -8r encoded sources anyway. These -8x will
% only exist as .mtx files.
\reglyphfonts
  % Setup for changing names of figures:
  \renameglyph{zerooldstyle}{zero}
  \renameglyph{oneoldstyle}{one}
  \renameglyph{twooldstyle}{two}
  \renameglyph{threeoldstyle}{three}
  \renameglyph{fouroldstyle}{four}
  \renameglyph{fiveoldstyle}{five}
  \renameglyph{sixoldstyle}{six}
  \renameglyph{sevenoldstyle}{seven}
  \renameglyph{eigtholdstyle}{eight}
  \renameglyph{nineoldstyle}{nine}
  % These are not CSC, just OsF:
  \reglyphfont{psbri8x}{psbrij8r}
  \reglyphfont{psbb8x}{psbbj8r}
  \reglyphfont{psbbi8x}{psbbij8r}
  % Setup for changing CSC font glyph names:
  \input csc2x
  \reglyphfont{psbr8x}{psbrc8r} % This one is CSC
\endreglyphfonts

\latinfamily{psbj}
\endinstallfonts
\bye

%%% Local Variables: 
%%% mode: tex
%%% TeX-master: t
%%% End: 
------------------------------------------------------------------------

creates a five-page .dvi-file, most of the lines of the form

------------------------------------------------------------------------
\out_line\setglyphAacute\out_lline\glyphppcA00\out_lline\glyphppcacute249191\out_lline\samesizeAacute-not
\out_line\setglyphAcircumflex\out_lline\glyphppcA00\out_lline\glyphppccircumflex249191\out_lline\
\out_line\setglyphAdieresis\out_lline\glyphppcA00\out_lline\glyphppcdieresis249191\out_lline\samesizeAdieresis-not
\out_line\setglyphAgrave\out_lline\glyphppcA00\out_lline\glyphppcgrave249191\out_lline\samesizeAgrave-not
\out_line\setglyphAring\out_lline\glyphppcA00\out_lline\glyphppcring285205\out_lline\samesizeAring-not
\out_line\setglyphAtilde\out_lline\glyphppcA00\out_lline\glyphppctilde267191\out_lline\samesizeAtilde-not
------------------------------------------------------------------------

etc. 

furthermore, I would assume that the result would be virtual fonts that
made calls to the roman and smallcaps fonts, but that does not seem to
be the case.  I'm quite confused as to which fonts to actually call
now.  

furthermore, the t1psb.fd file contain the illegal line

\DeclareFontFamily{T1}{psb}{\endinstallfonts }

still, thanks for the help - I believe I understand more when I have to
sort out stuff by myself :)

-- 
Rolf Lindgren
roffe@tag.uio.no