Dear list,

I wonder whether there is a conditional for font features similar to
\doifelseitalic.

\doifelsecurrentfonthasfeature checks whether the font supports an
OpenType feature.

\doifunknownfontfeature checks whether the font feature has been defined.

It seems that \doifelsefontfeature checks whether the font feature has
been defined or not.

Could anyone explain me how to check whether c2sc is being used or not
in the following sample?

  \definefontfeature[asc][c2sc=yes, smcp=yes]
  \setupbodyfont[palatino]
  \starttext
  \feature[+][asc] abc\\
  \feature[-][asc] abc
  \stoptext

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to