oldstyle numbers

Thierry Bouche Thierry.Bouche@ujf-grenoble.fr
Mon, 6 Dec 1999 09:30:04 -0500


Concernant « oldstyle numbers », =?ISO-8859-1?Q?Rolf Marvin B=8F8e Lindgren?= écrit : «
» I tried the  \latinfamily{??j} trick to get oldstyle numbers, but it
» didn't work, and I believe it may be because the afms I used (Adobe's
» Sabon) use the standard names for numbers, and not the special oldstyle
» names.  save editing the afm files, is there a workaround?
» 

Yeah, in current fontinst, you'd  simply do something like

     \installfont{psbr8t}{psbr8r,latin}{T1}{T1}{psb}{m}{n}{}
      \installfont{psbrj8t}{kernoff,psbrcj8r,resetosf,kernon,psbr8r,latin}{T1j}{T1}{psbj}{m}{n}{}
      \installfont{psbrcj8t}{psbrcj8r,latin}{T1}{T1}{psbj}{m}{sc}{}
       \installfont{psbrc8t}{psbrcj8r,resetosf,kernoff,psbr8r,kernon,latin}{T1}{T1}{psb}{m}{sc}{}
 
[not absolutely sure about the kern-on/off commands]

Or, alternatively...

     \installfont{psbr8t}{psbr8r,latin}{T1}{T1}{psb}{m}{n}{}
      \installfont{psbrj8t}{kernoff,psbr8r,unsetnum,kernon,psbrcj8r,latin}{T1}{T1}{psbj}{m}{n}{}
      \installfont{psbrcj8t}{psbrcj8r,latin}{T1}{T1}{psbj}{m}{sc}{}
       \installfont{psbrc8t}{psbrcj8r,unsetnum,kernoff,psbr8r,kernon,latin}{T1}{T1}{psb}{m}{sc}{}

where unsetnum simply unsets all digits.

If you want to rely on latinfamily, you have to change all glyph names
in the OsF AFMs and call them 8x (change e.g. a to Asmall, and zero to
zerooldstyle, quite easy with perl or even sed...). Then the map file
must know of these new 8x fonts.



Thierry Bouche, Grenoble.