all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <johnw@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 66503@debbugs.gnu.org
Subject: bug#66503: 29.1; Problem rendering Arabic diacriticals
Date: Fri, 13 Oct 2023 10:04:36 -0700	[thread overview]
Message-ID: <m2cyximp23.fsf@newartisans.com> (raw)
In-Reply-To: <83il7bt567.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Oct 2023 09:20:00 +0300")

>>>>> Eli Zaretskii <eliz@gnu.org> 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 =" 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ún character:

             position: 11198 of 92599 (12%), column: 14
            character: ن‎ (displayed as ن‎) (codepoint 1606, #o3106, #x646)
              charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..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 NOON"
          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) ('ن')

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ún and the heh, razor thin as if it
were a unicode thin-space or something):

             position: 11199 of 92599 (12%), column: 15
            character: َ (displayed as َ) (codepoint 1614, #o3116, #x64e)
              charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..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 "َّ" (see below)

Composed with the following character(s) "ّ" 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):
  ّ (#x651) ARABIC SHADDA

Character code properties: customize what to show
  name: ARABIC FATHA
  old-name: ARABIC FATHAH
  general-category: Mn (Mark, Nonspacing)
  decomposition: (1614) ('َ')

There are text properties here:
  fontified            t

[back]

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2





  reply	other threads:[~2023-10-13 17:04 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 [this message]
2023-10-14  5:19       ` John Wiegley
2023-10-14  6:57         ` Eli Zaretskii
2023-10-14  8:56           ` Alan Third
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

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

  git send-email \
    --in-reply-to=m2cyximp23.fsf@newartisans.com \
    --to=johnw@gnu.org \
    --cc=66503@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.