emacs-devel
[Top][All Lists]
Advanced

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

Re: Not able to display \u110BD and \u110CD in Emacs


From: Eli Zaretskii
Subject: Re: Not able to display \u110BD and \u110CD in Emacs
Date: Fri, 29 Apr 2022 13:50:30 +0300

> From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> Date: Fri, 29 Apr 2022 15:15:41 +0530
> Cc: emacs-devel@gnu.org
> 
> I did the changes mentioned.
> 1. Added the square brackets
> 2. Changed the 1 to a 0
> 
> ;; Kaithi composition rules
> (let ((consonant "[\x1108D-\x110AF]")
>       (non-consonant "[^\x1108D-\x110AF\x110B9]")
>       (vowel "[\x110B0-\x110B8\x110C2]")
>       (anusvara-candrabindu "[\x11080\x11081]")
>       (virama "\x110B9")
>       (number-sign "\x110BD")
>       (number-sign-above "\x110CD")
>       (numerals "[\x966-\x96F]"))
>   (set-char-table-range composition-function-table
>                         '(#x110B0 . #x110B8)
>                         (list (vector
>                                (concat consonant vowel anusvara-candrabindu 
> "?")
>                                1 'font-shape-gstring)))
>   (set-char-table-range composition-function-table
>                         '(#x110B9 . #x110B9)
>                         (list (vector
>                                (concat consonant "\\(?:" virama consonant 
> "\\)+"
>                                        vowel "*\\|" consonant virama)
>                                1 'font-shape-gstring)))
>   (set-char-table-range composition-function-table
>                         '(#x110BD . #x110BD)
>                         (list (vector
>                                (concat number-sign numerals)
>                                0 'font-shape-gstring)))
>   (set-char-table-range composition-function-table
>                         '(#x110CD . #x110CD)
>                         (list (vector
>                                (concat number-sign-above numerals)
>                                0 'font-shape-gstring))))
> 
> Now when typed alone they do not appear but when written with numbers, they 
> appear as NOTDEF glyphs

Are you sure the font supports all of those characters?  What font is
used for them in each case.

And again, you don't show the text that doesn't render correctly (as
characters), so it's impossible to investigate the cases you tried.
Images help to see how stuff is displayed, but they cannot be used to
reliably figure out what text was displayed.  I asked you to show the
actual text many times.



reply via email to

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