unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "समीर सिंह Sameer Singh" <lumarzeli30@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 54914@debbugs.gnu.org, Robert Pluim <rpluim@gmail.com>
Subject: bug#54914: 28.1.50; Unable to form Brahmi conjuncts in Emacs
Date: Sat, 16 Apr 2022 17:43:49 +0530	[thread overview]
Message-ID: <CAOR1sLyLg8R+okYEG_TN+ysWz7m57NUOgDTWuo-LZePJ-LQT1A@mail.gmail.com> (raw)
In-Reply-To: <83bkx11g6o.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 2227 bytes --]

Thank you very much for adding support for Brahmi!

I can notice two problems
1. Vowel signs are not attached properly to conjuncts.
    Correct output=hb-conjuncts-maatra.png   Incorrect
Output=emacs-conjuncts-maatra.png

2. Conjuncts with more than two consonants are not supported.
    Correct output=hb-tri-conjuncts.png   Incorrect
Output=emacs-tri-conjuncts.png

On Sat, Apr 16, 2022 at 3:51 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Robert Pluim <rpluim@gmail.com>
> > Cc: 54914@debbugs.gnu.org,  lumarzeli30@gmail.com
> > Date: Thu, 14 Apr 2022 11:07:23 +0200
> >
> > >>>>> On Wed, 13 Apr 2022 21:26:55 +0300, Eli Zaretskii <eliz@gnu.org>
> said:
> >
> >     >> From: Robert Pluim <rpluim@gmail.com>
> >     >> Cc: Eli Zaretskii <eliz@gnu.org>,  54914@debbugs.gnu.org
> >     >> Date: Wed, 13 Apr 2022 18:56:21 +0200
> >     >>
> >     >> 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)))
> >
> >     Eli> Does that really work?  I'm not sure it will catch the
> "consonant,
> >     Eli> virama, consonant" rule (because the virama is a nonspacing
> mark, and
> >     Eli> we have a default rule for those in composite.el).
> >
> > We do indeed. The following handles only Ka through Lla in combination
> > with Virama, and seems to do the right thing here with Segoe UI
> > Historic (which I donʼt think we can set as default for the Brahmi
> > script, since itʼs non-free).
> >
> > ;; <Consonant, Virama, Consonant>, or <Consonant, Virama>, where the
> > ;; latter indicates a vowelless consonant.
> > (set-char-table-range composition-function-table
> >                     '(#x11013 . #x11034)
> >                     (list (vector
> "[\x11013-\x11034]\x11046[\x11013-\x11034]?"
> >                                     0 #'font-shape-gstring)))
>
> I've now added support for the Brahmi script to the master branch;
> please test and report any problems you find.
>
> (We cannot advertise Segoe UI Historic, unfortunately, since it is not
> a free font, AFAICT.)
>

[-- Attachment #1.2: Type: text/html, Size: 3408 bytes --]

[-- Attachment #2: emacs-conjuncts-maatra.png --]
[-- Type: image/png, Size: 8641 bytes --]

[-- Attachment #3: hb-conjuncts-maatra.png --]
[-- Type: image/png, Size: 7735 bytes --]

[-- Attachment #4: emacs-tri-conjuncts.png --]
[-- Type: image/png, Size: 12813 bytes --]

[-- Attachment #5: hb-tri-conjuncts.png --]
[-- Type: image/png, Size: 9914 bytes --]

  reply	other threads:[~2022-04-16 12:13 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
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 [this message]
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

  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=CAOR1sLyLg8R+okYEG_TN+ysWz7m57NUOgDTWuo-LZePJ-LQT1A@mail.gmail.com \
    --to=lumarzeli30@gmail.com \
    --cc=54914@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=rpluim@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 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).