From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66503: 29.1; Problem rendering Arabic diacriticals Date: Sat, 14 Oct 2023 09:57:48 +0300 Message-ID: <83pm1hsnbn.fsf@gnu.org> References: <83mswntzg3.fsf@gnu.org> <83il7bt567.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9035"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66503@debbugs.gnu.org To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 14 08:59:06 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 1qrYc5-00027e-KC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Oct 2023 08:59:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrYbh-0007fK-2i; Sat, 14 Oct 2023 02:58: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 1qrYbf-0007eg-Mt for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 02:58:39 -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 1qrYbf-0005b1-66 for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 02:58:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrYc2-00045U-Jq for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 02:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 06:59:02 +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.169726670415663 (code B ref -1); Sat, 14 Oct 2023 06:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Oct 2023 06:58:24 +0000 Original-Received: from localhost ([127.0.0.1]:47716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrYbQ-00044Z-EE for submit@debbugs.gnu.org; Sat, 14 Oct 2023 02:58:24 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:45436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrYbM-00044H-CT for submit@debbugs.gnu.org; Sat, 14 Oct 2023 02:58:23 -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 1qrYat-0007d6-10 for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 02:57:51 -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 1qrYas-0005Sj-LV; Sat, 14 Oct 2023 02:57:50 -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:Subject:In-Reply-To:To:From: Date; bh=ey7krVSzEIAn6Zkb69wa4h5NXhR7NkBXBsM/6V/zEQY=; b=D9qIRIrX26vzVt1WkX++ gaQUwGxFJvgElSzVLhLkPSQj7J4UbjVO8VvXM0cxEzRbimxvNPYXhPjZGn25fvqD+GnN69z7S+Jw7 tlOMjm7LUtMYJDxfLojJWeEuDV3bexUAJiVMCmYeByIeQ157XAG4R66QhZ2il6J68Uc4EHkRrN2i7 5qdr0iRgKOepaGOY5zWVcD1QFOzKLm6cu/ztIBs3ih7Lbon+MAsi9sHdPD7WMzhfvbp+l+Uqh3mp1 T4FZLCo9bdERLbwixJ3VHHLPbUB8xYNB8ebtL9rwSghNtH6hlgUloCef1QfSz8F8zfJoh7MxwU/Gn S6VEbPEWO/s7NA==; In-Reply-To: (message from John Wiegley on Fri, 13 Oct 2023 22:19:52 -0700) 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:272378 Archived-At: > From: John Wiegley > Cc: bug-gnu-emacs@gnu.org > Date: Fri, 13 Oct 2023 22:19:52 -0700 > > I have found a workaround: By typing “shadda followed by fatha” instead of > “fatha followed by shadda”, my Emacs renders it correctly. Here are the two > different lines: > > لَنَهْدِيَنَّهُمْ > لَنَهْدِيَنَّهُمْ > > In Mellel these are both rendered the same, but (my) Emacs treats them quite > differently. Both lines render identically here. I think the conclusion is that the macOS text-shaping engine doesn't sort the combining characters before rendering them, which is what shaping engines are expected to do. However, I don't consider myself an expert on this, so maybe raise this issue on some forum where the development of the macOS shaper is discussed?