unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "समीर सिंह Sameer Singh" <lumarzeli30@gmail.com>
To: 55303@debbugs.gnu.org
Subject: bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs
Date: Sat, 7 May 2022 21:50:13 +0530	[thread overview]
Message-ID: <CAOR1sLzbZVqNRxWnrZMG3DcBJOEUoJEp8UzG3mgEL=2ep7C2Uw@mail.gmail.com> (raw)

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

There is no composition rule for \u09F0 (ৰ) and \u09FE (৾) in emacs,
therefore they are not rendered properly.
Steps to reproduce:
1. emacs -Q
2. Type:
     ৰাম কৰ্ম ৰূপ
     লা৾নু না৾

The following patch will fix the problem:

diff --git a/lisp/language/indian.el b/lisp/language/indian.el
index b240403b0a..b6fcdbb348 100644
--- a/lisp/language/indian.el
+++ b/lisp/language/indian.el
@@ -194,13 +194,14 @@ bengali-composable-pattern
  '(("a" . "\u0981") ; SIGN CANDRABINDU
    ("A" . "[\u0982\u0983]") ; SIGN ANUSVARA .. VISARGA
    ("V" . "[\u0985-\u0994\u09E0\u09E1]") ; independent vowel
-   ("C" . "[\u0995-\u09B9\u09DC-\u09DF\u09F1]") ; consonant
+   ("C" . "[\u0995-\u09B9\u09DC-\u09DF\u09F0\u09F1]") ; consonant
    ("B" . "[\u09AC\u09AF\u09B0\u09F0]") ; BA, YA, RA
    ("R" . "[\u09B0\u09F0]") ; RA
    ("n" . "\u09BC") ; NUKTA
    ("v" . "[\u09BE-\u09CC\u09D7\u09E2\u09E3]") ; vowel sign
    ("H" . "\u09CD") ; HALANT
    ("T" . "\u09CE") ; KHANDA TA
+           ("S" . "\u09FE") ; SANDHI MARK
    ("N" . "\u200C") ; ZWNJ
    ("J" . "\u200D") ; ZWJ
    ("X" . "[\u0980-\u09FF]")))) ; all coverage
@@ -209,7 +210,7 @@ bengali-composable-pattern
       ;; syllables with an independent vowel, or
       "\\(?:RH\\)?Vn?\\(?:J?HB\\)?v*n?a?A?\\|"
       ;; consonant-based syllables, or
-      "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*[NJ]?v?a?A?\\)\\|"
+      "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*[NJ]?v?a?A?S?\\)\\|"
       ;; another syllables with an independent vowel, or
       "\\(?:RH\\)?T\\|"
       ;; special consonant form, or

[-- Attachment #2: Type: text/html, Size: 2233 bytes --]

             reply	other threads:[~2022-05-07 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-07 16:20 समीर सिंह Sameer Singh [this message]
2022-05-07 16:37 ` bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs Eli Zaretskii
2022-05-07 16:39   ` समीर सिंह Sameer Singh

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='CAOR1sLzbZVqNRxWnrZMG3DcBJOEUoJEp8UzG3mgEL=2ep7C2Uw@mail.gmail.com' \
    --to=lumarzeli30@gmail.com \
    --cc=55303@debbugs.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 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).