unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs
@ 2022-05-07 16:20 समीर सिंह Sameer Singh
  2022-05-07 16:37 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: समीर सिंह Sameer Singh @ 2022-05-07 16:20 UTC (permalink / raw)
  To: 55303

[-- 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 --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs
  2022-05-07 16:20 bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs समीर सिंह Sameer Singh
@ 2022-05-07 16:37 ` Eli Zaretskii
  2022-05-07 16:39   ` समीर सिंह Sameer Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-05-07 16:37 UTC (permalink / raw)
  To: समीर सिंह Sameer Singh
  Cc: 55303-done

> From: समीर सिंह Sameer Singh
>  <lumarzeli30@gmail.com>
> Date: Sat, 7 May 2022 21:50:13 +0530
> 
> 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:

Thanks, I install that.  But please in the future send patches via
"git format-patch", and perhaps as attachment, as Gmail is known to
munge whitespace.  The patch you sent didn't apply.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs
  2022-05-07 16:37 ` Eli Zaretskii
@ 2022-05-07 16:39   ` समीर सिंह Sameer Singh
  0 siblings, 0 replies; 3+ messages in thread
From: समीर सिंह Sameer Singh @ 2022-05-07 16:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 55303-done

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

Sorry, I will do that i future.

शनि, 7 मई 2022, 10:07 pm को Eli Zaretskii <eliz@gnu.org> ने लिखा:

> > From: समीर सिंह Sameer Singh
> >  <lumarzeli30@gmail.com>
> > Date: Sat, 7 May 2022 21:50:13 +0530
> >
> > 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:
>
> Thanks, I install that.  But please in the future send patches via
> "git format-patch", and perhaps as attachment, as Gmail is known to
> munge whitespace.  The patch you sent didn't apply.
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-07 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-07 16:20 bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs समीर सिंह Sameer Singh
2022-05-07 16:37 ` Eli Zaretskii
2022-05-07 16:39   ` समीर सिंह Sameer Singh

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).