struggling with font features (sc, os)
Hi font wizards, I’m trying to get rid of \sc and \os, but font features are unreliable... With default LM, only the classical variants work. With termes, heros, iwona, antykwa OTF sc and os work, while classical \sc and \os don’t. With gentium both sc work, while the font doesn’t have onum. Libertine works in all variants, Dejavu in none. Alegreya has single sc fonts, so only \sc works. Adobe Jenson Pro has smcp and onum features, but they only work with \definedfont. WTF? While I can understand most of this, the last one is confusing. What could be wrong? And how can I map an SC font to smcp feature of the Roman font? \definefontfeature[default] [mode=node,script=latn,language=dflt,kern=yes,liga=yes,lnum=yes] \mainlanguage[de] \setupbodyfont[termes,12pt] \definefontfeature[f:smallcaps][smcp=yes] \definefontfeature[f:oldstyle][onum=yes,lnum=no] \def\Sample{Hämbürgefonßy123\&-} \starttext \showbodyfont normal: {\rm\Sample}{\ss\Sample}{\tt\Sample} {\tex{os}: \os{\rm\Sample}{\ss\Sample}{\tt\Sample}} {\feature[+][f:oldstyle] otf os: {\rm\Sample}{\ss\Sample}{\tt\Sample}} {\tex{sc}: \sc{\rm\Sample}{\ss\Sample}{\tt\Sample}} {\feature[+][f:smallcaps] otf sc: {\rm\Sample}{\ss\Sample}{\tt\Sample}} {\definedfont[Serif*smallcaps at 16pt]\Sample} {\definedfont[Sans*smallcaps at 16pt]\Sample} {\definedfont[Mono*smallcaps at 16pt]\Sample} \stoptext Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD
participants (1)
-
Henning Hraban Ramm