From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.bidi Subject: Re: Arabic support Date: Thu, 02 Sep 2010 21:48:29 +0800 Message-ID: <87hbi8dzo2.fsf@home.jasonrumney.net> References: <83bp8oml9c.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283436375 26447 80.91.229.12 (2 Sep 2010 14:06:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2010 14:06:15 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org, Kenichi Handa To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 02 16:06:13 2010 Return-path: Envelope-to: ged-emacs-devel@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 1OrAQd-0007Vy-QS for ged-emacs-devel@m.gmane.org; Thu, 02 Sep 2010 16:06:13 +0200 Original-Received: from localhost ([127.0.0.1]:34416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrAQZ-0003t8-Ub for ged-emacs-devel@m.gmane.org; Thu, 02 Sep 2010 10:06:08 -0400 Original-Received: from [140.186.70.92] (port=49877 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrAQG-0003ll-G9 for emacs-devel@gnu.org; Thu, 02 Sep 2010 10:05:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrA9k-0003BS-Dm for emacs-devel@gnu.org; Thu, 02 Sep 2010 09:48:48 -0400 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:38461) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrA9c-0003A3-8R; Thu, 02 Sep 2010 09:48:36 -0400 Original-Received: by pzk33 with SMTP id 33so165349pzk.0 for ; Thu, 02 Sep 2010 06:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=cv6HTDtn6uM2BpFKodC/4gAqyJtJ5iuJQoqspX7wK+o=; b=UjKWa89sqp6Ny+16gIffmxQdJTxVPXkwidb3SYcdlTmp5edrZsRbu1nBIe9c9kUZLH JFSsoG9fi4Vy5S+UsnXmYMYLhNTQ1syylcv+0Jsh05oY6AWVrRTIEjHHyhEoxI6i6fhd 428ZlJdU+oNFPIKIB0/G1yNl17XpCDT8DAjx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=pDnwE+4AE20o0r3pO50rZizsBG7rZGETWDHCQ9CpaeEdXCxxvoFlwd4iXzPeCdDBaQ UC2SgFVlWEM6t33t3pxPXWxZ3ZvX2zdeWH9JPmyt9lpi03UqVRdlaYvSSbp96O0aXVFD qIopRypEjRQ4oJI062PTbIQ+iOzSU5vA6P4t4= Original-Received: by 10.114.15.16 with SMTP id 16mr10426821wao.118.1283435315103; Thu, 02 Sep 2010 06:48:35 -0700 (PDT) Original-Received: from home.jasonrumney.net ([202.87.221.130]) by mx.google.com with ESMTPS id o17sm957851wal.9.2010.09.02.06.48.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 06:48:33 -0700 (PDT) Original-Received: by home.jasonrumney.net (Postfix, from userid 1000) id 69A3B1562; Thu, 2 Sep 2010 21:48:29 +0800 (MYT) In-Reply-To: (Eli Zaretskii's message of "Mon, 30 Aug 2010 10:06:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129591 gmane.emacs.bidi:801 Archived-At: Eli Zaretskii writes: > 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. The documentation seems to imply that, but it looks like items[i].a.fRTL is being set anyway according to how uniscribe thinks the direction should be. As well as removing the code that takes notice of the rtl flag and tries to reverse the output, you will probably have to set items[i].a.fLogicalOrder to 1 before calling ScriptShape to ensure logical order output from ScriptShape. -- Jason