[NTG-context] \definefontfeature and script

Hans Hagen j.hagen at xs4all.nl
Tue Jan 5 17:11:01 CET 2021


On 1/5/2021 4:46 PM, Pablo Rodriguez wrote:
> 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?
well, ytou get what you ask for ... if you don't set the script you get 
default (dflt) which also gives small caps



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list