From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41470 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Arabic with LuaTeX vs. XeTeX Date: Mon, 9 Jun 2008 14:52:54 +0300 Message-ID: <20080609115254.GA386@khaled-laptop> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0975148547==" X-Trace: ger.gmane.org 1213012469 1802 80.91.229.12 (9 Jun 2008 11:54:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 11:54:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 09 13:55:11 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1K5fxt-0001PS-Eo for gctc-ntg-context-518@m.gmane.org; Mon, 09 Jun 2008 13:55:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 97DB11FC21; Mon, 9 Jun 2008 13:54:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27000-01-4; Mon, 9 Jun 2008 13:53:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 63B351FC93; Mon, 9 Jun 2008 13:53:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A9A71FC93 for ; Mon, 9 Jun 2008 13:53:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27113-01-3 for ; Mon, 9 Jun 2008 13:53:03 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by ronja.ntg.nl (Postfix) with ESMTP id E90311FC16 for ; Mon, 9 Jun 2008 13:53:02 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id u40so1209829ugc.50 for ; Mon, 09 Jun 2008 04:53:02 -0700 (PDT) Original-Received: by 10.66.220.17 with SMTP id s17mr1623395ugg.37.1213012382596; Mon, 09 Jun 2008 04:53:02 -0700 (PDT) Original-Received: from localhost ( [41.232.32.247]) by mx.google.com with ESMTPS id t38sm1551328ugc.43.2008.06.09.04.52.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Jun 2008 04:53:01 -0700 (PDT) In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41470 Archived-At: --===============0975148547== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 09, 2008 at 11:13:06AM +0200, Otared Kavian wrote: > Dear all, > > I just read the thread started by Burak Emir about "Typesetting Arabic = =20 > today", and tried to typeset the sample sent by Idris Samawi Hamid. > One of the Arabic or Persian fonts that I have and LuaTeX can find is =20 > Nadeem (working on Mac OS X 10.5.3), but what I get after typesetting is= =20 > the following attached PDF: all the characters are typeset with their=20 > isolated form. However typestting the same text with XeConTeXt or XeTeX= =20 > gives a nice result. May be the font is built with AAT tables and not OpenType, XeTeX supports AAT on mac but I don't think LuaTeX does. Khaled > > So my question is, what should I add or subtract from the font features= =20 > parameters to get a correct result? > > > > The source file is as follows: > > % engine=3Dluatex > \starttext > > \definefontfeature > [test] > [analyze=3Dyes, > mode=3Dnode, > language=3Ddflt, > script=3Darab, > aalt=3Dyes, > init=3Dyes, > medi=3Dyes, > fina=3Dyes, > isol=3Dyes, > liga=3Dyes, > mset=3Dyes] > > \font\TradArabic =3D Nadeem*test at 18pt > > \startbuffer[paragraph] > =D8=A7=D9=84=D8=AD=D9=85=D8=AF=D9=84=D9=84=D9=87 =D8=AD=D9=85=D8=AF =D9= =85=D8=B9=D8=AA=D8=B1=D9=81 =D8=A8=D8=AD=D9=85=D8=AF=D9=87=D8=8C =D9=85=D8= =BA=D8=AA=D8=B1=D9=81 =D9=85=D9=86 =D8=A8=D8=AD=D8=A7=D8=B1 =D9=85=D8=AC=D8= =AF=D9=87=D8=8C =D8=A8=D9=84=D8=B3=D8=A7=D9=86 > =D8=A7=D9=84=D8=AB=D9=86=D8=A7=DB=A4=D8=A1 =D8=B4=D8=A7=D9=83=D8=B1=D8=A7= =D8=8C =D9=88=D9=84=D8=AD=D8=B3=D9=86 =D8=A7=D9=84=D8=A7=DB=A4=D8=A6=D9=87 = =D9=86=D8=A7=D8=B4=D8=B1=D8=A7=D8=9B =D8=A7=D9=84=D8=B0=D9=8A =D8=AE=D9=84= =D9=82 =D8=A7=D9=84=D9=85=D9=88=D8=AA =D9=88=D8=A7=D9=84=D8=AD=D9=8A=D9=88= =D8=A9=D8=8C =D9=88=D8=A7=D9=84=D8=AE=D9=8A=D8=B1 > =D9=88=D8=A7=D9=84=D8=B4=D8=B1=D8=8C =D9=88=D8=A7=D9=84=D9=86=D9=81=D8=B9= =D9=88=D8=A7=D9=84=D8=B6=D8=B1=D8=8C =D9=88=D8=A7=D9=84=D8=B3=D9=83=D9=88= =D9=86 =D9=88=D8=A7=D9=84=D8=AD=D8=B1=D9=83=D8=A9=D8=8C =D9=88=D8=A7=D9=84= =D8=A3=D8=B1=D9=88=D8=A7=D8=AD > =D9=88=D8=A7=D9=84=D8=A3=D8=AC=D8=B3=D8=A7=D9=85=D8=8C =D9=88=D8=A7=D9=84= =D8=B0=D9=83=D8=B1 =D9=88=D8=A7=D9=84=D9=86=D8=B3=D9=8A=D8=A7=D9=86. > > \blank > > =D8=A7=D9=8E=D9=84=D9=92=D8=AD=D9=8E=D9=85=D9=92=D8=AF=D9=8F =D9=84=D9=90= =D9=84=D9=91=D9=B0=D9=87=D9=90 =D8=AD=D9=8E=D9=85=D9=92=D8=AF=D9=8E =D9=85= =D9=8F=D8=B9=D9=92=D8=AA=D9=8E=D8=B1=D9=90=D9=81=D9=8D =D8=A8=D9=90=D8=AD= =D9=8E=D9=85=D9=92=D8=AF=D9=90=D9=87=D9=96=D8=8C =D9=85=D9=8F=D8=BA=D9=92= =D8=AA=D9=8E=D8=B1=D9=90=D9=81=D9=8C =D9=85=D9=90=D9=86=D9=92 =D8=A8=D9=90= =D8=AD=D9=8E=D8=A7=D8=B1=D9=90 =D9=85=D9=8E=D8=AC=D9=92=D8=AF=D9=90=D9=87= =D9=96=D8=8C =D8=A8=D9=90=D9=84=D9=90=D8=B3=D9=8E=D8=A7=D9=86=D9=90 > =D8=A7=D9=84=D8=AB=D9=91=D9=8E=D9=86=D9=8E=D8=A7=DB=A4=D8=A1=D9=90 =D8=B4= =D9=8E=D8=A7=D9=83=D9=90=D8=B1=D9=8B=D8=A7=D8=8C =D9=88=D9=8E=D9=84=D9=90= =D8=AD=D9=8F=D8=B3=D9=92=D9=86=D9=90 =D8=A7=D9=B0=D9=84=D8=A7=DB=A4=D8=A6= =D9=90=D9=87=D9=96 =D9=86=D9=8E=D8=A7=D8=B4=D9=90=D8=B1=D9=8B=D8=A7=D8=9B = =D8=A7=D9=8E=D9=84=D9=91=D9=8E=D8=B0=D9=90=D9=8A=D9=92 =D8=AE=D9=8E=D9=84= =D9=8E=D9=82=D9=8E =D8=A7=D9=84=D9=92=D9=85=D9=8E=D9=88=D9=92=D8=AA=D9=8E = =D9=88=D9=8E=D8=A7=D9=84=D9=92=D8=AD=D9=8E=D9=8A=D9=B0=D9=88=D8=A9=D9=8E=D8= =8C =D9=88=D9=8E=D8=A7=D9=84=D9=92=D8=AE=D9=8E=D9=8A=D9=92=D8=B1=D9=8E > =D9=88=D9=8E=D8=A7=D9=84=D8=B4=D9=91=D9=8E=D8=B1=D9=91=D9=8E=D8=8C =D9=88= =D9=8E=D8=A7=D9=84=D9=86=D9=91=D9=8E=D9=81=D9=92=D8=B9=D9=8E =D9=88=D9=8E= =D8=A7=D9=84=D8=B6=D9=91=D9=8E=D8=B1=D9=91=D9=8E=D8=8C =D9=88=D9=8E=D8=A7= =D9=84=D8=B3=D9=91=D9=8F=D9=83=D9=8F=D9=88=D9=92=D9=86=D9=8E =D9=88=D9=8E= =D8=A7=D9=84=D9=92=D8=AD=D9=8E=D8=B1=D9=8E=D9=83=D9=8E=D8=A9=D9=8E=D8=8C = =D9=88=D9=8E=D8=A7=D9=84=D9=92=D8=A3=D9=8E=D8=B1=D9=92=D9=88=D9=8E=D8=A7=D8= =AD=D9=8E > =D9=88=D9=8E=D8=A7=D9=84=D9=92=D8=A3=D9=8E=D8=AC=D9=92=D8=B3=D9=8E=D8=A7= =D9=85=D9=8E=D8=8C =D9=88=D9=8E=D8=A7=D9=84=D8=B0=D9=91=D9=90=D9=83=D9=92= =D8=B1=D9=8E =D9=88=D9=8E=D8=A7=D9=84=D9=86=D9=91=D9=90=D8=B3=D9=92=D9=8A= =D9=8E=D8=A7=D9=86=D9=8E. > > \stopbuffer > > \start > \TradArabic > \pardir TRT \textdir TRT > \getbuffer[paragraph] > \stop > > \stoptext > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 Khaled Hosny Arabic localizer and member of Arabeyes.org team --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFITRmWRoqITGOuyPIRAkufAKCPYP+5xAsWoO5mT+c9izkj7bHwgwCeIi7t UQpaQjY6vePfXY2rT9I4vFk= =Wx/O -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- --===============0975148547== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0975148547==--