Digital Typography News

A blog exclusively devoted to digital typography

SmallCapsFeatures in XeLaTeX

without comments

On page 37 of my book on XeLaTeX I include the following example

\newICUfeature{Contextuals}{Alts}{+calt}
\setmainfont[Mapping=tex-text,Script=Greek,
      SmallCapsFeatures={Contextuals=Alts}]{Universal Modern}

This does not work anymore. One needs to modify this as follows:

setmainfont[Mapping=tex-text,Script=Greek,
            UprightFeatures={Contextuals=NoAlternate},
            SmallCapsFeatures={Contextuals=Alternate}]{Universal Modern}

If one omits the UprightFeatures part, then the SmallCapsFeatures apply everywhere.

Written by euadmin

May 11th, 2015 at 9:41 pm

Posted in Uncategorized

Leave a Reply