Some Arabic ligatures get rendered twice, I think this happens when a ligature can be divided into subligatures, say ABC ligature where the font has an AB ligature, in this case A+B+C get rendered as ABC+AB.
See the attached example. Regards, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team
\usetypescriptfile[type-arabtype] \usetypescript[Arabtype] \ctxlua { fonts.color.trace = true } \setupcolors[state=start] \setupbodyfont[Arabtype,28pt] \setcharactermirroring[1] \pagedir TRT\bodydir TRT\pardir TRT\textdir TRT \starttext كما علبي علبى \stoptext
\definefontfeature [fea] [mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,tlig=yes, calt=yes,ccmp=yes,jalt=yes,trep=yes, mark=yes,mkmk=yes,kern=yes,curs=yes] \starttypescript [serif] [arabtype] \definefontsynonym [Arabtype-Light] [name:ArabicTypesetting] [features=fea] \definefontsynonym [Arabtype-Bold] [name:ArabicTypesetting] [features=fea] \definefontsynonym [Arabtype-Italic] [name:ArabicTypesetting] [features=fea] \definefontsynonym [Arabtype-Bold-Italic] [name:ArabicTypesetting] [features=fea] \stoptypescript \starttypescript [serif] [arabtype] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Arabtype-Light] [features=fea] \definefontsynonym [SerifItalic] [Arabtype-Italic] [features=fea] \definefontsynonym [SerifBold] [Arabtype-Bold] [features=fea] \definefontsynonym [SerifBoldItalic] [Arabtype-Bold-Italic] [features=fea] \stoptypescript \starttypescript [Arabtype] \definetypeface [Arabtype] [rm] [serif] [arabtype] [default] \stoptypescript
test-liga.pdf
Description: Adobe PDF document
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 ___________________________________________________________________________________