From: "समीर सिंह Sameer Singh" <lumarzeli30@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Not able to display \u110BD and \u110CD in Emacs
Date: Sat, 30 Apr 2022 11:40:03 +0530 [thread overview]
Message-ID: <CAOR1sLyporyAcdz6B5pYW9Y-wPwESuF4pBAruqUeJExApsFatQ@mail.gmail.com> (raw)
In-Reply-To: <837d779kgx.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 3429 bytes --]
>
> Can you tell why you want this to be displayed differently when it is
> a lone character? AFAIU, the only meaningful display of this
> character is when it precedes numerals.
Yes you are correct, I was just confused as to why it was not being
displayed, but this works too.
btw, is the way how I have written the composition table correct? I have
copied it from the Brahmi composition one, or is it more apporpriate to do
it in the way of the devanagari, bengali, malayalam ones?
Also I plan to include more writing scripts in emacs, so should I send the
patches one by one or in bulk?
On Sat, Apr 30, 2022 at 11:33 AM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> > Date: Sat, 30 Apr 2022 10:22:00 +0530
> > Cc: emacs-devel@gnu.org
> >
> > I suggest to use font-at to get the font-object you need for
> > font-get-glyphs.
> >
> > I had already used that and got
> > #<font-object "-GOOG-Noto Sans
> Kaithi-regular-normal-normal-*-23-*-*-*-*-0-iso10646-1">
> > but font-get-glyphs was not accepting it.
>
> "Not accepting" how? It works for me, so I don't understand what goes
> wrong in your case.
>
> > So the character is actually visible, it is just displayed as a thin
> > space. Which means that either its glyph in the font is like that, or
> > that the font lacks a glyph for it. What does "C-u C-x =" say when
> > the cursor is on that thin 1-pixel space?
> >
> > position: 89 of 89 (99%), column: 0
> > character: (displayed as ) (codepoint 69821, #o210275,
> #x110bd)
> > charset: unicode (Unicode (ISO10646))
> > code point in charset: 0x110BD
> > script: kaithi
> > syntax: w which means: word
> > category: L:Strong L2R
> > to input: type "C-x 8 RET 110bd" or "C-x 8 RET KAITHI
> NUMBER SIGN"
> > buffer code: #xF0 #x91 #x82 #xBD
> > file code: #xF0 #x91 #x82 #xBD (encoded by coding system
> utf-8)
> > display: by this font (glyph code):
> > ftcrhb:-GOOG-Noto Sans
> Kaithi-regular-normal-normal-*-23-*-*-*-*-0-iso10646-1 (#x48)
>
> Since this shows the "by this font" part, it means the character _is_
> displayed according to the font's glyph for it, and according to
> Emacs's rules for displaying such "format-control" characters. So now
> I don't think I understand why you say this character is not shown by
> Emacs, when the above clearly says it is displayed.
>
> > In the character section the character is not displayed in emacs but
> displayed in firefox, but it is displayed in
> > the decomposition section in emacs. I have attached the images
> > Opening the font file in font forge also shows their glyphs
>
> You are confusing the display of a lone codepoint with what Font Forge
> does and what Emacs does in the "decomposition" display. Those do not
> show the lone character, they show it with special characters before
> or after, to show how the character will look when combined with
> others.
>
> IOW, I think your expectations from how this character should be
> displayed as a lone character are incorrect.
>
> Can you tell why you want this to be displayed differently when it is
> a lone character? AFAIU, the only meaningful display of this
> character is when it precedes numerals.
>
[-- Attachment #2: Type: text/html, Size: 4425 bytes --]
next prev parent reply other threads:[~2022-04-30 6:10 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 23:17 Not able to display \u110BD and \u110CD in Emacs समीर सिंह Sameer Singh
2022-04-29 5:52 ` Eli Zaretskii
2022-04-29 6:53 ` Eli Zaretskii
2022-04-29 9:45 ` समीर सिंह Sameer Singh
2022-04-29 10:50 ` Eli Zaretskii
2022-04-29 11:17 ` समीर सिंह Sameer Singh
2022-04-29 12:18 ` Eli Zaretskii
2022-04-29 15:26 ` समीर सिंह Sameer Singh
2022-04-29 16:13 ` Eli Zaretskii
2022-04-30 4:52 ` समीर सिंह Sameer Singh
2022-04-30 6:03 ` Eli Zaretskii
2022-04-30 6:10 ` समीर सिंह Sameer Singh [this message]
2022-04-30 7:00 ` Eli Zaretskii
2022-04-30 7:03 ` समीर सिंह Sameer Singh
2022-04-30 7:19 ` Eli Zaretskii
2022-04-30 8:01 ` समीर सिंह Sameer Singh
2022-05-05 15:53 ` Madhu
2022-05-05 16:09 ` समीर सिंह Sameer Singh
2022-05-05 16:43 ` Madhu
2022-05-05 17:06 ` समीर सिंह Sameer Singh
2022-05-05 16:47 ` Eli Zaretskii
2022-05-06 3:59 ` Madhu
2022-05-06 5:56 ` Eli Zaretskii
2022-05-07 7:01 ` Eli Zaretskii
2022-05-07 14:19 ` Madhu
2022-05-07 14:22 ` Eli Zaretskii
2022-05-07 14:29 ` समीर सिंह Sameer Singh
2022-05-07 14:56 ` Eli Zaretskii
2022-05-07 15:47 ` Madhu
2022-05-07 16:01 ` समीर सिंह Sameer Singh
2022-05-07 16:44 ` Madhu
2022-05-07 16:54 ` समीर सिंह Sameer Singh
2022-05-08 17:25 ` Madhu
2022-05-08 17:35 ` Eli Zaretskii
2022-05-08 18:21 ` Madhu
2022-05-08 18:59 ` Eli Zaretskii
2022-05-09 2:06 ` Madhu
2022-05-09 2:39 ` Eli Zaretskii
2022-05-07 14:57 ` Madhu
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOR1sLyporyAcdz6B5pYW9Y-wPwESuF4pBAruqUeJExApsFatQ@mail.gmail.com \
--to=lumarzeli30@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.