---------- Forwarded message ---------
De: Jairo A. del Rio <jairoadelrio6@gmail.com>
Date: mar, 24 de nov. de 2020 a la(s) 14:16
Subject: Re: [NTG-context] Some ligatures don't work in latest LMTX
To: Hans Hagen <j.hagen@xs4all.nl>


Thank you very much, Hans. Ligatures now work. However, diacritics aren't properly placed even using "features=arabic" (they appear below letters in LMTX). ConTeXt MkIV still gives correct output.

Thank you in advance.

Jairo

El mar, 24 de nov. de 2020 a la(s) 12:04, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 11/24/2020 8:12 AM, Jairo A. del Rio wrote:
> |Hi everyone. The following example works fine with MkIV, but fails with
> latest LMTX.
> |
>
> |To be specific, the lam-alif ligature isn't working. Compile with both
> to see differences.
> |
>
> |Majalla is a Windows font, so I guess it's available for testing:
> |
>
> |
> \mainlanguage[arabic] \definefontfeature [arabic]
> [mode=node,language=dflt,script=arab,
> init=yes,medi=yes,fina=yes,isol=yes,
> liga=yes,dlig=yes,rlig=yes,clig=yes,
> mark=yes,mkmk=yes,kern=yes,curs=yes]
> \definefontfamily[main][serif][sakkalmajalla][features=arabic]
> \setupbodyfont[main] \setupdirections[bidi=global] \starttext أهلاً وسهلاً
> \stoptext
>
> |
>
> |Is that a bug or are more features to be specified? Thank you in advance.
(you can probably best use the already define arabic featre because it
also does some contextual stuff)

anyway, there was an issue with the state querying (isol etc) as side
effect of another thing .. fixed in next upload (there haven't been
fundamental changes to the font handling for quite a while)

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