From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: Arabic support Date: Mon, 30 Aug 2010 10:06:51 -0400 Message-ID: References: <83bp8oml9c.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1283177221 8131 80.91.229.12 (30 Aug 2010 14:07:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 14:07:01 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: Kenichi Handa , jasonr@gnu.org Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Mon Aug 30 16:07:00 2010 Return-path: Envelope-to: gnu-emacs-bidi@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq50l-0002QJ-Qh for gnu-emacs-bidi@m.gmane.org; Mon, 30 Aug 2010 16:07:00 +0200 Original-Received: from localhost ([127.0.0.1]:42788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq50l-0004y4-5E for gnu-emacs-bidi@m.gmane.org; Mon, 30 Aug 2010 10:06:59 -0400 Original-Received: from [199.232.76.173] (port=35986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq50h-0004vw-HQ for emacs-bidi@gnu.org; Mon, 30 Aug 2010 10:06:55 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Oq50f-0003vu-VX for emacs-bidi@gnu.org; Mon, 30 Aug 2010 10:06:55 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:44585) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Oq50f-0003vp-Q0; Mon, 30 Aug 2010 10:06:53 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oq50d-0006YC-8u; Mon, 30 Aug 2010 10:06:51 -0400 In-reply-to: (message from Kenichi Handa on Mon, 30 Aug 2010 16:47:08 +0900) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-bidi@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of Emacs support for multi-directional text." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Errors-To: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bidi:778 gmane.emacs.devel:129419 Archived-At: > From: Kenichi Handa > Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org > Date: Mon, 30 Aug 2010 16:47:08 +0900 > > I can't see that strange behaviour on GNU/Linux. Amit > Aronovitch also reported that > rendering and cursor movement are ok on Debian. So, I > suspect that the problem is specific to Windows. Looks like that, yes. > In Emacs, bidi reordering is done by Emacs itself, so the `shape' > method of font backend should not reorder glyphs. But, perhaps > Uniscribe backend reorders Arabic text, right? No, not AFAIK. We call the ScriptItemize API of Uniscribe with NULL as the 4th and 5th arguments, which AFAIU should disable reordering. Perhaps Jason could chime in and tell if I'm right here. Btw, does the current code support Arabic ligatures and shaping on GNU/Linux?