bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55539: 28.1; Support for the Kharoṣṭhī Script


From: Stefan Baums
Subject: bug#55539: 28.1; Support for the Kharoṣṭhī Script
Date: Fri, 20 May 2022 19:16:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

>>                              ;; '(#x10A00 . #x10A5F)
>
> This last line should be removed, no?

Indeed – left over from an earlier experiment.

>
>>                              '(#x10A3F . #x10A3F)
>>                         (list
>>                          (vector
>>                           (concat consonant
>>                                   "\\(?:" virama consonant "\\)*"
>>                                   modifier "*"
>>                                   virama "?"
>>                                   vowel "*"
>>                                   modifier "*")
>>                           1 'font-shape-gstring))))
>
> Note that according to the rule above, a sequence
>
>   consonant modifier vowel
>
> will not be composed, although it matches the regexp, because its
> second character is not a virama.  Is this okay?

Because of the '(#x10A3F . #x10A3F) bit? Yes, that may be a
problem. With Kharosthi Unicode, out of the following three
examples, the middle one (consonant + modifier + vowel) has its
vowel attached incorrectly

  𐨗𐨸𐨁 𐨣𐨸𐨁 𐨐𐨿𐨮𐨸𐨁

Cf. 𐨣𐨸𐨁 with modifier with 𐨣𐨁 without modifier:

PNG image

All look fine with Segoe UI Historic, however.

Can you suggest how to reformulate the rule? My intent was to pass
every whole akṣara to the shaper.

>>  ("a" ["𐨀"]) ("i" ["𐨀𐨁"]) ("u" ["𐨀𐨂"]) ("R" ["𐨀𐨃"]) ("e" ["𐨀𐨅"]) ("o" ["𐨀𐨆"])
>
> Can you please reformat this to have just one rule per line?

Okay, done. Please find new versions of both files attached.

> Would you be willing to start the legal paperwork of the
> copyright assignment at this time? If yes, I will send you the
> form to fill and the instructions to email the form.

I was dreading that process, but am willing. Yes, please send me
the forms.

Many thanks for your quick response and help!

Attachment: kharoshthi.el
Description: application/emacs-lisp

Attachment: kharoshthi-input.el
Description: application/emacs-lisp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]