From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: how reliable is rendering of complex scripts? Date: Sun, 04 Oct 2015 22:45:40 +0300 Message-ID: <838u7i1kpn.fsf@gnu.org> References: <20151002.073900.472512461.wl@gnu.org> <83pp0x7mnq.fsf@gnu.org> <20151004.063952.389316157.wl@gnu.org> <83zizz1590.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443987960 17933 80.91.229.3 (4 Oct 2015 19:46:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Oct 2015 19:46:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 04 21:45:51 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZipEF-0004Lb-Kg for ged-emacs-devel@m.gmane.org; Sun, 04 Oct 2015 21:45:51 +0200 Original-Received: from localhost ([::1]:43531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZipEF-0003TT-3H for ged-emacs-devel@m.gmane.org; Sun, 04 Oct 2015 15:45:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZipEB-0003TH-Bz for emacs-devel@gnu.org; Sun, 04 Oct 2015 15:45:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZipE8-0005yD-5m for emacs-devel@gnu.org; Sun, 04 Oct 2015 15:45:47 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:46372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZipE7-0005y6-TP for emacs-devel@gnu.org; Sun, 04 Oct 2015 15:45:44 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NVP00B00NSSMA00@mtaout28.012.net.il> for emacs-devel@gnu.org; Sun, 04 Oct 2015 22:45:17 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVP00C9GO7GU500@mtaout28.012.net.il>; Sun, 04 Oct 2015 22:45:17 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190900 Archived-At: > From: "John Wiegley" > Date: Sun, 04 Oct 2015 11:06:32 -0700 > > Just FYI, I use Emacs to write in Arabic script fairly often (chatting in > Persian via ERC). I haven't noticed any specific rendering or right-to-left > issues yet, but do count me as someone with knowledge of and concern for these > issues. Thanks. One of the things that always bothered me are the composition rules for Arabic and Persian (see the end of lisp/language/misc-lang.el). Perhaps you could take a look at them, in particular the ZWJ and ZWNJ related rules, and other similar stuff. I think someone said in the past we lack some rules there. Also, the Harfbuzz test suite includes several text files that are supposed to exercise Arabic and Persian shaping, so if you know what is the correct display in all of the cases there, perhaps you could see if Emacs displays them correctly.