[NTG-context] Some ligatures don't work in latest LMTX

Hans Hagen j.hagen at xs4all.nl
Thu Jan 7 16:20:03 CET 2021


On 1/7/2021 3:04 PM, Jairo A. del Rio wrote:
> Hmm, it works for Persian because this uses less diacritics than Arabic. 
> The following fails with LMTX:
> 
> \definefontfamily[main][serif][notonaskharabic][features=arabic]
> 
> \setupdirections[bidi=global,method=one]
> 
> \setupbodyfont[main]
> 
> \starttext
> 
> \obeylines
> 
> %https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php 
> <https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php>
> 
> بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ
> 
> \stoptext
> 
> Hi, Hans. Could you please check this out? It works for MKIV, but in 
> LMTX vowels are misplaced. Thank you in advance.

It works here but i have different code in the meantime. We're in a 
transition to an lmtx version of the font handler. In lmtx we need to do 
a bit more checking when we are in in compact font mode so it might be 
that there is temporary loss of some functionality. In principle mkiv 
and lmtx should do the same as there is no real change in logic.)

I'll push an update later today,

Hans



-----------------------------------------------------------------
                                           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