[NTG-context] How to define a font with an effect as a font with \definefont

Pablo Rodriguez oinos at gmx.es
Sun May 24 00:37:10 CEST 2020

On 5/23/20 9:50 PM, Gerben Wierda wrote:
>  [...]
>>>     \definefontfeature
>>>       [effect-widen]
>>>       [effect={width=.2,delta=0.3}]
>>>     \definefallbackfamily
>>>       [archimate]
>>>       [ss]
>>>       [Helvetica]
>>>       [preset=range:cyrillic,
>>>        tf=style:light,
>>>        it=style:lightoblique,
>>>        bf=style:regular,
>>>        bi=style:oblique,
>>>        force=yes,
>>>        features={default,effect-widen}]
>>>     \definefontfamily
>>>         [archimate]
>>>         [ss]
>>>         [Optima]
>>>         [features={default,effect-widen}]
> Does this apply the effect only to Latin characters in Optima and not to
> Cyrcillic characters in Helvetica? I am trying to understand the syntax
> and if I read this it seems to get applied to cyrillic in this case.

Sorry, Gerben, it was only an example to show that you could apply the
feature to any font or fallback family.

If you remove "features={default, effect-widen}" from
"\definefallbackfamily", the effect won’t be applied to Helvetica.

I hope it is clear now,


More information about the ntg-context mailing list