all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Sameer Singh <lumarzeli30@gmail.com>
Cc: 54914@debbugs.gnu.org
Subject: bug#54914: 28.1.50; Unable to form Brahmi conjuncts in Emacs
Date: Wed, 13 Apr 2022 18:56:21 +0200	[thread overview]
Message-ID: <87tuaw53d6.fsf@gmail.com> (raw)
In-Reply-To: <837d7t3r8n.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 13 Apr 2022 19:03:36 +0300")

>>>>> On Wed, 13 Apr 2022 19:03:36 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Sameer Singh <lumarzeli30@gmail.com>
    >> Date: Wed, 13 Apr 2022 16:25:41 +0530
    >> 
    >> Brahmi just like any other Indic script also has the ability to form conjuncts, but despite using "Segoe UI
    >> Historic" font which supports Brahmi Conjuncts, Emacs is not able to display them.

    Eli> This is a missing feature: we don't have composition rules for the
    Eli> Brahmi script, and more generally don't have any support for that
    Eli> script.  Patches to add that are welcome.

A brute-force example of what Eli's talking about would be:

(set-char-table-range composition-function-table
		      '(#x11000 . #x1107F)
		      (list (vector "[\x11000-\x1107F]+" 0 #'font-shape-gstring)))

which essentially means "hand off any sequence of Brahmi codepoints to
harfbuzz", which might end up being slow. From your example, youʼre
requesting more something like "consonant, virami, consonant", which
is also possible, but we'll need your guidance to tell us when the
results are acceptable. (If anyone is interested, thereʼs section 14.1
of the Unicode 14 standard that describes how they think Brahmi should
be handled, but Iʼve not tried to understand it yet).

Robert
-- 





  reply	other threads:[~2022-04-13 16:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13 10:55 bug#54914: 28.1.50; Unable to form Brahmi conjuncts in Emacs Sameer Singh
2022-04-13 16:03 ` Eli Zaretskii
2022-04-13 16:56   ` Robert Pluim [this message]
2022-04-13 18:06     ` समीर सिंह Sameer Singh
2022-04-13 18:26     ` Eli Zaretskii
2022-04-14  9:07       ` Robert Pluim
2022-04-16 10:22         ` Eli Zaretskii
2022-04-16 12:13           ` समीर सिंह Sameer Singh
2022-04-16 12:26             ` Eli Zaretskii
2022-04-16 13:34               ` समीर सिंह Sameer Singh
2022-04-16 16:29                 ` Eli Zaretskii
2022-04-17 12:49                   ` समीर सिंह Sameer Singh
2022-04-17 14:01                     ` Robert Pluim
2022-04-17 14:25                       ` समीर सिंह Sameer Singh
2022-04-17 14:57                         ` Eli Zaretskii
2022-04-17 15:50                           ` समीर सिंह Sameer Singh
2022-04-17 17:38                             ` Eli Zaretskii
2022-04-17 17:51                               ` समीर सिंह Sameer Singh
2022-04-17 18:32                                 ` Eli Zaretskii
2022-04-17 14:49                       ` 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=87tuaw53d6.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=54914@debbugs.gnu.org \
    --cc=lumarzeli30@gmail.com \
    /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.