[NTG-context] tlig feature sometimes does not work

Hans Hagen j.hagen at xs4all.nl
Sat Mar 13 09:12:46 CET 2021

On 3/13/2021 2:01 AM, Mohammad Hossein Bateni wrote:
> Umm... the fallbacks are correct.  My conclusion is that tlig does not 
> work when the character is not in the font itself.  Is that the case?  
> Is this a bug or a feature?
> \starttext
>   \definefontfallback[fall][dejavusansmono][0-0xfffff][check=yes,force=no]
>       \definefontsynonym[Test][file:Mikhak-Medium.ttf][fallbacks=fall]
>       \definefontfeature[tf][arabic][tlig=yes]
>       \definedfont[Test*tf]
>       foo--bar
>       [\char"2013]
>       [\char"2014]
> \stoptext
... or a misunderdstanding:

      foo--ofo---oof [\char"002D] [\char"2013] [\char"2014]

for a ligature to be made all the glyphs involved have to come from the 
same font

I think you should wikify this (also because the font once complete is a 
nice one to use in examples),


                                           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