[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How should one handle condensed etc., variants?



i'd advocate following dcarlisle a  fam/weight/case/shape/width/ptsize
scheme : case would be all upper, all lower, u&lc, u≻ shape would
be as usual up it sl (ui if needed) 

the problem of typographic variants remains : italics with initial
swash casp, old style digits, alternate font set (which are rather
encoding variants?) 

should the case of letters bound with the case of digits?

my current setting for non-nfss variants requires a bit of hand tuning
in the input. 

i define normal /oldstyle / swash as families like this for minion:

\DeclareOption{oldstyle}{\def\TheSpecialBit{j}}
\DeclareOption{lining}{\def\TheSpecialBit{x}}
\DeclareOption{swashit}{\def\TheSpecialBit{w}}
\ExecuteOptions{lining}
\ProcessOptions
\renewcommand{\rmdefault}{pmn\TheSpecialBit}
\def\black{\fontseries{eb}\selectfont}
\def\sbold{\fontseries{sb}\selectfont}
\def\bold{\fontseries{b}\selectfont}
\def\lining{\fontfamily{pmnx}\selectfont}
\def\oldstyle{\fontfamily{pmnj}\selectfont}
\def\itsc{\fontshape{scit}\selectfont}
\def\scit{\fontshape{scit}\selectfont}
\def\swashcaps{\usefont{U}{pmn}{\f@series}{iw}}
\def\swashit{\usefont{T1}{pmnw}{\f@series}{it}}
\def\ornaments{\usefont{U}{pmn}{m}{n}}
\def\condensedseries{\fontseries{\f@series c}\selectfont}



   Thierry Bouche.       -----       thierry.bouche@ujf-grenoble.fr
          http://www-fourier.ujf-grenoble.fr/~bouche/