[Fontinst] Alternates failing
Adrian Heathcote
adrian.heathcote@philosophy.usyd.edu.au
Thu, 19 Dec 2002 15:05:06 +1100
Hi once again
Having gone through the entire installation process for the Agaramond
alternatives, I find that something must have gone wrong at a
fundamental level.
Having tried to follow Alan Hoenig's instructions to the letter, there
is an error in the output of Dvips. The error reads: Warning module
writet1 of dvips (file padr7l): character 117 is mapped to .notdef.
(This should have been a long-tailed Q)
My map file entry here is just
padr7l AGaramondAlt-Regular <padr7l.pfb
And similar for the italic.
Here is the mtx file (from Hoenig's book)
\relax
The file padalt.mtx, which contains kerning information for the
alternate Adobe Garamond fonts.
\metrics
\setcommand\Setrightkerning#1#2#3{
\ifisglyph{#1}\then\setrightkerning{#1}{#2}{#3}\fi}
\setcommand\Setleftkerning#1#2#3{
\ifisglyph{#1}\then\setleftkerning{#1}{#2}{#3}\fi}
\setcommand\Setkern#1#2#3{
\ifisglyph{#1}\then\setkern{#1}{#2}{#3}\fi}
\Setleftkerning{aswash}{a}{1000}
\Setleftkerning{ct}{c}{1000}
\Setrightkerning{ct}{t}{1000}
\Setleftkerning{eswash}{e}{1000}
\Setleftkerning{nswash}{n}{1000}
\Setleftkerning{rswash}{r}{1000}
\Setleftkerning{st}{s}{1000}
\Setrightkerning{st}{t}{1000}
\Setleftkerning{tswash}{t}{1000}
\Setleftkerning{tswashalt}{t}{1000}
\Setrightkerning{vswash}{v}{1000}
And here are the additions that make up the ot1padl.etx file that I
used:
\needsfontinstversion{1.800}
\ifisglyph{Aswash}\then
\setcommand\uc#1#2{#1swash}
\else
\setcommand\uc#1#2{#1}
\fi
\ifisglyph{ampersandalt}\then
\setcommand\alternatechar#1{#1alt}
\else
\setcommand\alternatechar#1{#1}
\fi
\setcommand\Ligature#1#2#3{
\ifisglyph{#3}\then\ligature{#1}{#2}{#3}\fi}
\setcommand\atendofword#1{\Ligature{LIG}{boundarychar}{#1}}
\setcommand\atstartofword#1#2{\Ligature{LIG}{#1}{#2}}
.
.
.
\setslot{alternatechar{ampersand}}\endsetslot
\setslot{ornament1}\endsetslot
\setslot{ornament2}\endsetslot
\setslot{Qalt}\endsetslot
\setslot{aswash}\endsetslot
\setslot{ct}\endsetslot
\setslot{eswash}\endsetslot
\setslot{nswash}\endsetslot
\setslot{rswash}\endsetslot
\setslot{st}\endsetslot
\setslot{tswash}\endsetslot
\setslot{tswashalt}\endsetslot
\setslot{vswash}\endsetslot
\setslot{zswash}\endsetslot
\setslot{boundarychar}
\atstartofword{Q}{Qalt}
\atstartofword{v}{vswash}
\endsetslot
Can anyone tell me what is going wrong here? Why are the alternates not
getting found by dvips? Should the type 1 outline files be named, as
I've named them padr7l.pfb?
Help
Adrian Heathcote