Am 28.11.2012 um 11:18 schrieb Sietse Brouwer
\setff{X} enables font feature X in the current scope --- do I understand this correctly? --Sietse
It enables a predefined set of features which need to define with \definefontfeature. There is also a difference between \setff and \addff, with \setff you replace the active feature set (in most cases “default”) with a new set, you can see it in the first line because kerning etc. is disabled after \setff which I haven’t included in my list. In the second line I used \adff which add my new list to the active list and because of this kerning is still active after \addff. \definefontfeature[smallcapitals] [smcp=yes] \definefontfeature[oldstylenumber][onum=yes] \setupbodyfont[pagella] \starttext {VA abc \setff{smallcapitals} VA abc} {VA abc \addff{smallcapitals} VA abc} {12345 \setff{oldstylenumber} 12345} \stoptext Wolfgang