[Fontinst] Condensed slanted fonts
Peter Dyballa
Peter_Dyballa at Web.DE
Fri Jun 24 12:22:30 CEST 2005
Hello!
I have a nice little family of ITC TrueType fonts, that is converted to
PostScript and that gets an extra dotlessj in the 9z font(let)s:
iatb8a.ttf -> AmericanTypewriterBold.ttf -> iatb8p.pfb,
iatb8r.pfb, iatb9z.pfb
iatb8ac.ttf -> AmericanTypewriterCondensedBold.ttf -> iatb8pn.pfb,
iatb8rn.pfb, iatb9zn.pfb
iatl8a.ttf -> AmericanTypewriterLight.ttf -> iatl8p.pfb,
iatl8r.pfb, iatl9z.pfb
iatl8ac.ttf -> AmericanTypewriterCondensedLight.ttf -> iatl8pn.pfb,
iatl8rn.pfb, iatl9zn.pfb
iatr8a.ttf -> AmericanTypewriter.ttf -> iatr8p.pfb,
iatr8r.pfb, iatr9z.pfb
iatr8ac.ttf -> AmericanTypewriterCondensed.ttf -> iatr8pn.pfb,
iatr8rn.pfb, iatr9zn.pfb
How can I install slanted version of the condensed variant? This first
block is OK:
\transformfont{iatro8rn}{\slantfont{\int{slant}} {\fromafm{iatr8rn}}}
\transformfont{iatro8pn}{\slantfont{\int{slant}} {\fromafm{iatr8pn}}}
\transformfont{iatro9zn}{\slantfont{\int{slant}} {\fromafm{iatr9zn}}}
\transformfont{iatbo8rn}{\slantfont{\int{slant}} {\fromafm{iatb8rn}}}
\transformfont{iatbo8pn}{\slantfont{\int{slant}} {\fromafm{iatb8pn}}}
\transformfont{iatbo9zn}{\slantfont{\int{slant}} {\fromafm{iatb9zn}}}
\transformfont{iatlo8rn}{\slantfont{\int{slant}} {\fromafm{iatl8rn}}}
\transformfont{iatlo8pn}{\slantfont{\int{slant}} {\fromafm{iatl8pn}}}
\transformfont{iatlo9zn}{\slantfont{\int{slant}} {\fromafm{iatl9zn}}}
%%%
but the next section(s) can't work this way:
\installfonts
%%%
\installfamily{OT1}{iat}{}
\installfont {iatro7tn}{iatro8rn,iatro8pn,iatro9zn,newlatin option
nosc}{ot1} {OT1}{iat}{m}{c}{}
\installfont {iatbo7tn}{iatbo8rn,iatbo8pn,iatbo9zn,newlatin option
nosc}{ot1} {OT1}{iat}{b}{c}{}
\installfont {iatlo7tn}{iatlo8rn,iatlo8pn,iatlo9zn,newlatin option
nosc}{ot1} {OT1}{iat}{l}{c}{}
%
\installfamily {T1}{iat}{}
\installfont {iatro8tn}{iatro8rn,iatro8pn,iatro9zn,newlatin option
nosc} {t1} {T1}{iat}{m}{c}{}
\installfont {iatbo8tn}{iatbo8rn,iatbo8pn,iatbo9zn,newlatin option
nosc} {t1} {T1}{iat}{b}{c}{}
\installfont {iatlo8tn}{iatlo8rn,iatlo8pn,iatlo9zn,newlatin option
nosc} {t1} {T1}{iat}{l}{c}{}
%
\installfamily{TS1}{iat}{}
\installfont {iatro8cn}{iatro8rn,iatro8pn,textcomp}
{ts1i}{TS1}{iat}{m}{c}{}
\installfont {iatbo8cn}{iatbo8rn,iatbo8pn,textcomp}
{ts1i}{TS1}{iat}{b}{c}{}
\installfont {iatlo8cn}{iatlo8rn,iatlo8pn,textcomp}
{ts1i}{TS1}{iat}{l}{c}{}
%%%
\endinstallfonts
How can I tell fontinst to install a slanted *and* condensed font?
\latinfamily{iat} would work, but this macro wouldn't include the
glyphs from the 8p and 9z encoded fonts (exactly ten in this font's
case).
--
Greetings
Pete
When in doubt, use brute force.
-- Ken Thompson
More information about the fontinst
mailing list