unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 66503@debbugs.gnu.org, johnw@gnu.org, mituharu@math.s.chiba-u.ac.jp
Subject: bug#66503: 29.1; Problem rendering Arabic diacriticals
Date: Sat, 14 Oct 2023 09:56:50 +0100	[thread overview]
Message-ID: <ZSpX0jT8lEiJYdFF@breton.holly.idiocy.org> (raw)
In-Reply-To: <83pm1hsnbn.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

On Sat, Oct 14, 2023 at 09:57:48AM +0300, Eli Zaretskii wrote:
> > From: John Wiegley <johnw@gnu.org>
> > 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?

FWIW, on my ancient version of macOS I see these looking the same too,
and they seem to match John's original correct screenshot. My own
screenshot attached.

It could be a difference between the NS port and the Mac port, or
perhaps its a regression in macOS.
-- 
Alan Third

[-- Attachment #2: Screenshot 2023-10-14 at 09.49.54.png --]
[-- Type: application/octet-stream, Size: 56586 bytes --]

  reply	other threads:[~2023-10-14  8:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12 17:52 bug#66503: 29.1; Problem rendering Arabic diacriticals John Wiegley
2023-10-12 19:26 ` Eli Zaretskii
2023-10-12 19:30   ` Eli Zaretskii
2023-10-12 20:40   ` John Wiegley
2023-10-13  6:20     ` Eli Zaretskii
2023-10-13 17:04       ` John Wiegley
2023-10-14  5:19       ` John Wiegley
2023-10-14  6:57         ` Eli Zaretskii
2023-10-14  8:56           ` Alan Third [this message]
2023-10-14 16:30         ` Stefan Kangas
2023-10-12 20:39 ` Alan Third
2023-10-13  6:21   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZSpX0jT8lEiJYdFF@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=66503@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=johnw@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).