[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 15:18:38 +0300 |
> From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> Date: Fri, 29 Apr 2022 16:47:22 +0530
> Cc: emacs-devel@gnu.org
>
> They seem to be working after changing the devanagari font to Noto Sans
> Kaithi but only for one digit
> though
But that's what the rule you wrote says:
(numerals "[\x966-\x96F]"))
[...]
(set-char-table-range composition-function-table
'(#x110BD . #x110BD)
(list (vector
(concat number-sign numerals)
0 'font-shape-gstring)))
The regexp in 'numerals' will match only a single character, so just
one character after number-sign will be composed. if you want to
compose several ones, you need to say this instead:
(numerals "[\x966-\x96F]+"))
> also they do not appear when alone.
Do they have any glyphs in the font? Did you try to use
font-get-glyphs to see if the font can display those characters when
they are alone?
> Since the kaithi unicode does not have its own numerals and uses the
> devanagari ones, is there any way to
> only change the devanagari font when it is near the kaithi number signs?
That's what your composition rules already do: they are only triggered
when the character preceding the numerals is a number sign. So I
don't think I understand the problem.
>
> Here is the Text I entered, sorry for not including them earlier, I thought
> that mentioning their codepoints
> should be enough.
> KAITHI NUMBER SIGN:
> KAITHI NUMBER SIGN + DEVANAGARI 0: १
>
> KAITHI NUMBER SIGN ABOVE:
> KAITHI NUMBER SIGN ABOVE + DEVANAGARI 0: ०
When you put the cursor at the number sign character, don't you see a
thin 1-pixel space there?
- Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/28
- Re: Not able to display \u110BD and \u110CD in Emacs, Eli Zaretskii, 2022/04/29
- Re: Not able to display \u110BD and \u110CD in Emacs, Eli Zaretskii, 2022/04/29
- Re: Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/29
- Re: Not able to display \u110BD and \u110CD in Emacs, Eli Zaretskii, 2022/04/29
- Re: Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/29
- Re: Not able to display \u110BD and \u110CD in Emacs,
Eli Zaretskii <=
- Re: Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/29
- Re: Not able to display \u110BD and \u110CD in Emacs, Eli Zaretskii, 2022/04/29
- Re: Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/30
- Re: Not able to display \u110BD and \u110CD in Emacs, Eli Zaretskii, 2022/04/30
- Re: Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/30
- Re: Not able to display \u110BD and \u110CD in Emacs, Eli Zaretskii, 2022/04/30
- Re: Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/30
- Re: Not able to display \u110BD and \u110CD in Emacs, Eli Zaretskii, 2022/04/30
- Re: Not able to display \u110BD and \u110CD in Emacs, समीर सिंह Sameer Singh, 2022/04/30