[NTG-context] \definefontfeature and script

Pablo Rodriguez oinos at gmx.es
Tue Jan 5 16:46:23 CET 2021


Hans,

this sample shows an issue with script:

  \definefontfeature
    [default]
    [default]
    [script=latn]

  \definefontfeature
    [onumsmcp]
    [onum=yes,
     smcp=yes,
     c2sc=yes]

  \setupbodyfont
    [pagella]

  \starttext
    \feature[+][onumsmcp]\tfb abc123ABC
  \stoptext

If script=auto, current latest (2021.01.05 10:45) works fine. If it is
set to Latin (as above), I don’t get small caps.

Besides the potential issue in ConTeXt, I think that "script=auto" may
be safer than "script=latn". Or am I taking too much for granted?

Many thanks for your help,

Pablo
--
http://www.ousia.tk


More information about the ntg-context mailing list