transformfont to slanted and 8r

Christian H. Kuhn kuhn@silchem.uni-wuerzburg.de
Mon, 4 Feb 2002 09:24:12 +0100


Hi,

In TeX unbound, Alan Hoenig describes making slanted fonts from 
unslanted (and upright italics from normal italics) by the following 
commands:

\transformfont{padro8a}{\slantfont{335}{\fromafm{padr8a}}}
\installfont{padro7t}{padro8a,latin}{OT1}{OT1}{pad}{m}{sl}{}

The entry for psfont.map (or pad.map} is

padro8a AGaramond-Regular ".335 SlantFont"

As discussed in his book earlier, 8a encoding does not allow the 
access to all glyphs in the font, so it is necessary to reencode to 
8r. The fontinst-commands are simple, i believe:

\transformfont{padr8r}{\reencodefont{8r}{\fromafm{padr8a}}}
\transformfont{padro8r}{\slantfont{335}{\fromafm{padr8r}}}
\installfont{padro7t}{padro8r,latin}{OT1}{OT1}{pad}{m}{sl}{}

But what is the correct map-entry? Something like

padro8r AGaramond-Regular "TeXBase1Encoding ReEncodeFont" <8r 
<padr8a.pfb

will contain no information about the slant, and

padro8r AGaramond-Regular ".335 SlantFont" <padr8a.pfb

will contain no information about reencoding. What is the correct way?

TIA
Chris
-- 
Bayerische Julius-Maximilians-Universität Würzburg
Lehrstuhl für Silicatchemie
Röntgenring 11                       Tel. +49-931-31-2454
97070 Würzburg                       Fax  +49-931-31-2109