Using Luatex engine, ZWNJ and ZWJ chars are rendered incorrectly. If the
font has a glyph for it, it does the expected behaviour (force
non-joining or joining respectively) but the glyph get rendered while it
shouldn't. But if the font has no glyphs for it, it has no effect at
all. See the attached example.

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

Attachment: zwnj_ScheherazadeRegOT.pdf
Description: Adobe PDF document

Attachment: zwnj_ae_AlMohanad.pdf
Description: Adobe PDF document

% engine=luatex 
\noheaderandfooterlines

\starttext

 \definefontfeature
   [arabic]
   [analyze=yes, clig=yes, curs=yes, dlig=yes,
    fina=yes, init=yes, isol=yes, kern=yes,
    language=dflt, liga=yes, mark=yes, medi=yes,
    mkmk=yes, mode=node, rlig=yes, script=arab]

\font \Arabic = ScheherazadeRegOT*arabic at 24pt
%\font \Arabic = ae_AlMohanad*arabic at 24pt

\pardir TRT \textdir TRT

\Arabic
خ‌ج‌ح
خ‍ ج‍ ح‍
\stoptext 

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to