[XeTeX] optical sizes?

Bruce D'Arcus bdarcus at fastmail.fm
Tue Jun 1 18:19:05 CEST 2004


On Jun 1, 2004, at 12:08 PM, Jonathan Kew wrote:

> I don't use LaTeX and am not really familiar with .fd files and the 
> whole font definition and selection mechanism. I'll leave this in the 
> hands of those who know what they're doing.....

Here's a fragment from an existing example of fonts converted to type1:

\DeclareFontFamily{LY1}{pwpj}{}

\DeclareFontShape{LY1}{pwpj}{m}{fn}{<-> 
WarnockPro-Regular--texnansx--Fkern--Fliga--Fsups}{}

\DeclareFontShape{LY1}{pwpj}{m}{n}{
    <-8.4> WarnockPro-Capt--texnansx--Fkern--Fliga--Fonum--Fpnum
    <8.5-13.0> WarnockPro-Regular--texnansx--Fkern--Fliga--Fonum--Fpnum
    <13.1-19.9> WarnockPro-Subh--texnansx--Fkern--Fliga--Fonum--Fpnum
    <20-> WarnockPro-Disp--texnansx--Fkern--Fliga--Fonum--Fpnum
}{}

So, it's just a matter of changing the font names I guess.  And using 
"U" for the encoding?

Bruce



More information about the XeTeX mailing list