From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#34035: 26.1; Arabic shadda-kasrah renders incorrectly Date: Fri, 11 Jan 2019 10:47:11 +0100 Message-ID: <874lafil0g.fsf@gmx.net> References: <87y37sv38f.fsf@nexoid.at> <83zhs8gx50.fsf@gnu.org> <878szrim1u.fsf@gmx.net> <83imyvh773.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1547199971 3130 195.159.176.226 (11 Jan 2019 09:46:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2019 09:46:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34035@debbugs.gnu.org, craven@gmx.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 11 10:46:07 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 1ghtO6-0000YV-Js for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 10:46:02 +0100 Original-Received: from localhost ([127.0.0.1]:47792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghtQD-0006og-8V for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 04:48:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghtQ4-0006oa-NW for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:48:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghtQ3-0004N2-Mu for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:48:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55349) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghtQ3-0004Mn-JJ for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ghtQ2-00006L-0b for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:48:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jan 2019 09:48:01 +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.154720004232535 (code B ref 34035); Fri, 11 Jan 2019 09:48:01 +0000 Original-Received: (at 34035) by debbugs.gnu.org; 11 Jan 2019 09:47:22 +0000 Original-Received: from localhost ([127.0.0.1]:54630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghtPN-0008SU-EZ for submit@debbugs.gnu.org; Fri, 11 Jan 2019 04:47:21 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:44073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghtPM-0008Ng-AS for 34035@debbugs.gnu.org; Fri, 11 Jan 2019 04:47:20 -0500 Original-Received: from rosalinde ([188.101.22.117]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MXr3H-1go7ss2G19-00Wo8X; Fri, 11 Jan 2019 10:47:13 +0100 In-Reply-To: <83imyvh773.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11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2xwQV4oOR+Pmxt3VuXpzypCheMc8bFEmbov0 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:154340 Archived-At: On Fri, 11 Jan 2019 11:30:56 +0200 Eli Zaretskii wrote: >> From: Stephen Berman >> Cc: "Peter" , 34035@debbugs.gnu.org >> Date: Fri, 11 Jan 2019 10:24:45 +0100 >>=20 >> > Thanks. On my system, this is displayed correctly, with kasrah above >> > the letter. So I don't think it's Emacs, I think it's the shaping >> > engine you are using. As you didn't provide the information collected >> > by "M-x report-emacs-bug", I can only guess what is that shaping >> > engine: XFT and libflt, right? Maybe you could try building the >> > harfbazz branch, which uses HarfBazz for shaping, I'd expect this >> > problem not to exist there. >>=20 >> I believe the problem is not with the shaping engine but with the font: > > The OP did say he tried different fonts, to no avail. It would be > interesting to know which fonts were those. > >> I see the same problem on both builds from current master (with libotf) >> and from the current harfbuzz branch using my default font, DejaVu Sans >> Mono. But when I switch the font to Symbola, the kasrah is correctly >> displayed between the sin and the shadda, both on master and on >> harfbuzz. (Nevertheless, on both branches, after switching to Symbola, >> describe-char surprisingly says this: >>=20 >> Composed with the following character(s) "=D9=91=D9=90" using this font: >> xft:-PfEd-DejaVu Sans-normal-normal-semicondensed-*-15-*-*-*-*-0-iso10= 646-1 >>=20 >> Is this expected?) > > Please show the entire output of "C-x =3D"=20 I assume you meant `C-u C-x =3D' > (I presume you invoke it on > the position of sin?). Yes. Here's the output on master: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D position: 1 of 3 (0%), column: 0 character: =D8=B3=E2=80=8E (displayed as =D8=B3=E2=80=8E) (code= point 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 "=D8=B3=D9=91=D9=90" (see below) Composed with the following character(s) "=D9=91=D9=90" 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) ('=D8=B3') =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D 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. Steve Berman