From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steffan Newsgroups: gmane.emacs.bugs Subject: bug#11860: 24.1; Arabic - Harakat (diacritics, short vowels) don't appear Date: Mon, 03 Sep 2012 17:31:39 +0200 Message-ID: <503491346686299@web2h.yandex.ru> References: <349071341393469@web30d.yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346686367 18290 80.91.229.3 (3 Sep 2012 15:32:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2012 15:32:47 +0000 (UTC) Cc: 11860@debbugs.gnu.org, smias@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 03 17:32:48 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1T8Ydr-0002Xn-Tl for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Sep 2012 17:32:48 +0200 Original-Received: from localhost ([::1]:37404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Ydp-0006eI-7V for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Sep 2012 11:32:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Ydf-0006e7-9f for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 11:32:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8YdZ-0003PW-BX for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 11:32:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8YdZ-0003PS-7T for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 11:32:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T8Yf3-0000Li-Vi for bug-gnu-emacs@gnu.org; Mon, 03 Sep 2012 11:34:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <349071341393469@web30d.yandex.ru> Resent-From: Steffan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Sep 2012 15:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11860-submit@debbugs.gnu.org id=B11860.13466864001292 (code B ref 11860); Mon, 03 Sep 2012 15:34:01 +0000 Original-Received: (at 11860) by debbugs.gnu.org; 3 Sep 2012 15:33:20 +0000 Original-Received: from localhost ([127.0.0.1]:36479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T8YeN-0000Kl-Ct for submit@debbugs.gnu.org; Mon, 03 Sep 2012 11:33:20 -0400 Original-Received: from forward1h.mail.yandex.net ([84.201.187.146]:56204) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T8YeJ-0000Kb-Dh for 11860@debbugs.gnu.org; Mon, 03 Sep 2012 11:33:18 -0400 Original-Received: from web2h.yandex.ru (web2h.yandex.ru [84.201.186.31]) by forward1h.mail.yandex.net (Yandex) with ESMTP id 737EC9E0625; Mon, 3 Sep 2012 19:31:40 +0400 (MSK) Original-Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web2h.yandex.ru (Yandex) with ESMTP id B79A51610002; Mon, 3 Sep 2012 19:31:39 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1346686300; bh=reEJQ8VDctO4tK0oFjbMltwmz6SymNxORr9kIKOn8/E=; h=From:To:Cc:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=fEGjDVVxw4ZCEL3kczTLZNsYC0n0mOJn2a78daHA6grM7yhcwrq7mniw6i/2ICRks 2vl2jDoSC1WAsk9AiSH6aZHmd2SodghDGf7wMcdHzBj8BlMeMN+mhrqpCORB8F1c7w byAjU2fG/LUu7vSxIcnopWOhGqOSWBMdvK8X84TM= Original-Received: from [176.3.206.139] ([176.3.206.139]) by web2h.yandex.ru with HTTP; Mon, 03 Sep 2012 19:31:39 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63707 Archived-At: >> From: Kenichi Handa >> Cc: eliz@gnu.org,jasonr@gnu.org,11860@debbugs.gnu.org,smias@yandex.ru >> Date: Wed, 29 Aug 2012 17:09:49 +0900 >> >> In article <177391346101857@web27f.yandex.ru>, Steffan writes: >> >>> I've just tested it. It's different. But it doesn't work correctly. >>> In the arabic-input-method >>> h-X-SPACE-h works fine, >>> but h-X-h doesn't work, the Sukkun disappears. >> >> I also tested with the following windows binary >> (emacs-trunk-r109787-bin-w32-i386.zip) and confirmed the problem: >> >> In article , Dani Moncayo writes: >> >>> I've just uploaded a w32 binary (from today's trunk): >>> https://www.dropbox.com/sh/7jr3vbv9tm1zod0/jPuvfrJAe8 >> >> I evaluated the attached funcion in *scratch* buffer and it >> returned this string on Windows. >> >> " [0 1 1575 909 18 7 10 25 8 nil] >> [0 1 1575 760 0 7 11 25 8 [-1 1 0]] >> >> [0 1 1575 909 18 7 10 25 8 nil] >> [0 1 1575 760 0 7 11 25 8 [-19 1 0]] >> >> " >> >> The second GLYPHs in the first and second GSTRINGs are >> different. On GNU/Linux, they are the same, which should be >> the correct behaviour. > > The problem was that the code I committed didn't expect to handle more > than a single grapheme cluster. I now fixed that code for the case of > several grapheme clusters that are handed to the shaper all at once. > With the modified code (trunk revision 109842), both Steffan's recipe > and the check-arabic-shaper function work correctly. Please test. > > Thanks. -- Thanks, this bug is now fixed. But there is something wrong with the two diacritics (short vowels): ARABIC KASRA and ARABIC KASRATAN. They should appear UNDER the letters, not IN or OVER them. Try a-A [Sheen-Kasra] or a-S [Sheen-Kasratan] or d-S [Ya-Kasratan]. But h-S or m-S has the correct form. (?) I tested this trunk: emacs-20120903-r109861-bin-i386.zip 03-Sep-2012 03:07 58M The arabic letters don't have a constant form. This seems to be the problem (?): Try f-S and compare with f-S-f.