From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34035: 26.1; Arabic shadda-kasrah renders incorrectly Date: Fri, 11 Jan 2019 12:34:12 +0200 Message-ID: <83h8efh49n.fsf@gnu.org> References: <87y37sv38f.fsf@nexoid.at> <83zhs8gx50.fsf@gnu.org> <878szrim1u.fsf@gmx.net> <83imyvh773.fsf@gnu.org> <874lafil0g.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1547202788 6457 195.159.176.226 (11 Jan 2019 10:33:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2019 10:33:08 +0000 (UTC) Cc: 34035@debbugs.gnu.org, craven@gmx.net To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 11 11:33:04 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghu7a-0001Wm-D3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 11:33:02 +0100 Original-Received: from localhost ([127.0.0.1]:60512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghu9h-00047z-3e for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 05:35:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghu9X-00047j-Gs for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 05:35:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghu9W-0004Ph-Hg for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 05:35:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghu9W-0004Pb-EL for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 05:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ghu9W-0001Gn-31 for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 05:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jan 2019 10:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34035 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 34035-submit@debbugs.gnu.org id=B34035.15472028664833 (code B ref 34035); Fri, 11 Jan 2019 10:35:02 +0000 Original-Received: (at 34035) by debbugs.gnu.org; 11 Jan 2019 10:34:26 +0000 Original-Received: from localhost ([127.0.0.1]:54641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghu8w-0001Ft-II for submit@debbugs.gnu.org; Fri, 11 Jan 2019 05:34:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghu8u-0001Fe-OO for 34035@debbugs.gnu.org; Fri, 11 Jan 2019 05:34:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghu8p-0004Cq-8B; Fri, 11 Jan 2019 05:34:19 -0500 Original-Received: from [176.228.60.248] (port=4239 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ghu8o-00013l-Hj; Fri, 11 Jan 2019 05:34:19 -0500 In-reply-to: <874lafil0g.fsf@gmx.net> (message from Stephen Berman on Fri, 11 Jan 2019 10:47:11 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:154341 Archived-At: > From: Stephen Berman > Cc: craven@gmx.net, 34035@debbugs.gnu.org > Date: Fri, 11 Jan 2019 10:47:11 +0100 > > > Please show the entire output of "C-x =" > > I assume you meant `C-u C-x =' > > > (I presume you invoke it on > > the position of sin?). > > Yes. Here's the output on master: > > ============================================================================== > position: 1 of 3 (0%), column: 0 > character: س‎ (displayed as س‎) (codepoint 1587, #o3063, #x633) > charset: unicode (Unicode (ISO10646)) > code point in charset: 0x0633 > script: arabic > syntax: w which means: word > category: .:Base, R:Right-to-left (strong), b:Arabic > to input: type "s" with arabic input method > buffer code: #xD8 #xB3 > file code: #xD8 #xB3 (encoded by coding system utf-8-unix) > display: composed to form "سِّ" (see below) > > Composed with the following character(s) "ِّ" using this font: > xft:-PfEd-DejaVu Sans-normal-normal-semicondensed-*-15-*-*-*-*-0-iso10646-1 > by these glyphs: > [0 2 1587 1377 16 0 16 6 4 nil] > [0 2 0 6022 0 -15 -10 13 -11 [-16 2 0]] > > Character code properties: customize what to show > name: ARABIC LETTER SEEN > general-category: Lo (Letter, Other) > decomposition: (1587) ('س') > ============================================================================== This clearly says that Emacs uses DejaVu Sans for this grapheme cluster, so I wonder what does "switch the font to Symbola" mean in this case. Can you tell what you did to switch to Symbola? > On the harfbuzz branch the output is the same except for the glyphs: > > [0 2 1587 6022 0 1 6 16 -8 [0 3 0]] > [0 2 1587 1377 16 0 16 6 4 nil] > > Note the second line here is identical to the first line of glyphs on > master. I would hardly call this "identical", since the offsets are also different. But I don't think that matters at this point.