From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#66503: 29.1; Problem rendering Arabic diacriticals Date: Fri, 13 Oct 2023 10:04:36 -0700 Message-ID: References: <83mswntzg3.fsf@gnu.org> <83il7bt567.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15065"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66503@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 13 19:05:54 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qrLbm-0003WR-8a for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Oct 2023 19:05:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrLbZ-0004dw-2d; Fri, 13 Oct 2023 13:05:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrLbW-0004dQ-SA for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 13:05:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qrLbW-0004Eu-Jl for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 13:05:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrLbt-00070b-Lh for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 13:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2023 17:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66503 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169721671326876 (code B ref -1); Fri, 13 Oct 2023 17:06:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Oct 2023 17:05:13 +0000 Original-Received: from localhost ([127.0.0.1]:47344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrLb7-0006zQ-2C for submit@debbugs.gnu.org; Fri, 13 Oct 2023 13:05:13 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:45310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrLb4-0006zE-9e for submit@debbugs.gnu.org; Fri, 13 Oct 2023 13:05:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrLab-0002kv-P8 for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 13:04:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrLab-0003wv-Fu for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 13:04:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Date:In-Reply-To:Subject:To: From; bh=0NBJKQVMlsYe/0tICT/0WWjz96qMqhisdgDF2hyIUM0=; b=GTEqaRGAK7Ht4zzycIm5 KZIVEIpJ25lXAUQLzT+364Y8BMavMycqcTBhlZzPXFx1YvYqoY7bFVWGEs+gEz3shcoeQzpex2HZL bOTxzI5ho2mSZQRwJRdTZFWmRysPp3+A4GD09qsUtVQzeqsLsiHUdGxD5kXDHGINyqsrpA1uXNnib xX2jMaKqtW+Ynp/X3/odYXmdbVyDzafc79UgD68g2hc1F33AOEWa4P/QIiAEuVZFeCUPWdvmQQI00 koF7kbDsNq1LkX4JTOVOFxH6MmhZ7DNUQWGEaPBMSFdQYaKeudE0pg2r9A4x/BIJC0AqwuM9pAaRQ PqLLVWwyCZUPdg==; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrieefgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfffkfhgfgggtgfesthhqredttderjeenucfhrhhomheplfhohhhn ucghihgvghhlvgihuceojhhohhhnfiesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnh epteelleeujeelvefghffggeegffdvieeigfekteevjeelhedutefgjeeifffgffdtnecu ffhomhgrihhnpehnvgifrghrthhishgrnhhsrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhohhhnfidomhgvshhmthhprghuthhh phgvrhhsohhnrghlihhthidqieekjeektdelgeegqddujeejheefkeduiedqjhhohhhnfi eppehgnhhurdhorhhgsehnvgifrghrthhishgrnhhsrdgtohhm X-ME-Proxy: Feedback-ID: ib64945b7:Fastmail In-Reply-To: <83il7bt567.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Oct 2023 09:20:00 +0300") Mail-Followup-To: Eli Zaretskii , bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272361 Archived-At: >>>>> Eli Zaretskii writes: > Thanks. Here on MS-Windows using HarfBuzz I see the same display as what = you > show for Mellel. Here's what "C-u C-x =3D" tells me about what Emacs did = here: Very interesting, we have very different reckonings of the buffer contents.= In both of your cases you both see the fatha and shadda at the same character position. In my buffer, they are not at the same position: ------------------------------------------------------------------------ On the n=C3=BAn character: position: 11198 of 92599 (12%), column: 14 character: =D9=86=E2=80=8E (displayed as =D9=86=E2=80=8E) (code= point 1606, #o3106, #x646) charset: unicode-bmp (Unicode Basic Multilingual Plane (U+000= 0..U+FFFF)) code point in charset: 0x0646 script: arabic syntax: w which means: word category: .:Base, R:Strong R2L, b:Arabic to input: type "C-x 8 RET 646" or "C-x 8 RET ARABIC LETTER NOO= N" buffer code: #xD9 #x86 file code: #xD9 #x86 (encoded by coding system utf-8-unix) display: by this font (glyph code): mac-ct:-*-Scheherazade New-medium-normal-normal-*-27-*-*-*-p-0-iso10646= -1 (#x436) Character code properties: customize what to show name: ARABIC LETTER NOON general-category: Lo (Letter, Other) decomposition: (1606) ('=D9=86') There are text properties here: fontified t [back] ------------------------------------------------------------------------ On the shadda between them, with my Emacs acting like it's a separate character (so I get a cursor between the n=C3=BAn and the heh, razor thin a= s if it were a unicode thin-space or something): position: 11199 of 92599 (12%), column: 15 character: =D9=8E (displayed as =D9=8E) (codepoint 1614, #o3116= , #x64e) charset: unicode-bmp (Unicode Basic Multilingual Plane (U+000= 0..U+FFFF)) code point in charset: 0x064E script: arabic syntax: w which means: word category: ^:Combining, b:Arabic to input: type "C-x 8 RET 64e" or "C-x 8 RET ARABIC FATHA" buffer code: #xD9 #x8E file code: #xD9 #x8E (encoded by coding system utf-8-unix) display: composed to form "=D9=8E=D9=91" (see below) Composed with the following character(s) "=D9=91" using this font: mac-ct:-*-Scheherazade New-medium-normal-normal-*-27-*-*-*-p-0-iso10646-1 by these glyphs: [0 1 0 1634 0 -1 7 30 -19 [0 0 1]] with these character(s): =D9=91 (#x651) ARABIC SHADDA Character code properties: customize what to show name: ARABIC FATHA old-name: ARABIC FATHAH general-category: Mn (Mark, Nonspacing) decomposition: (1614) ('=D9=8E') There are text properties here: fontified t [back] --=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2