<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On 22 Nov 2007, at 12:12 pm, Ali Majdzadeh wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hello Otared<BR> Thanks a lot. The problem solved, but the graphemes are separated, I mean, each word is printed with separated graphemes. Any ideas? I also tested Scheherazade arabic font from the following address:<BR> <A href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=ArabicFonts_Download">http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;item_id=ArabicFonts_Download</A><BR> But the problem still remains.<BR> <BR></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>For an OpenType Arabic font such as Scheherazade, you need to specify the proper script behavior, otherwise the OpenType engine doesn't know which features to apply:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>\TeXXeTstate = 1</DIV><DIV>\font\farsi = "Scheherazade:script=arab" at 18pt</DIV><DIV>\farsi</DIV><DIV>\noindent\beginR</DIV><DIV>....your persian text goes here....</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>\end</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>JK</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR></DIV><BR></BODY></HTML>