unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "समीर सिंह Sameer Singh" <lumarzeli30@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Not able to display \u110BD and \u110CD in Emacs
Date: Fri, 29 Apr 2022 19:13:54 +0300	[thread overview]
Message-ID: <83levnamv1.fsf@gnu.org> (raw)
In-Reply-To: <CAOR1sLzegmuYNBOtnmcMxypcdamE2UuvewTjroM+hmKH+K2h5A@mail.gmail.com> (message from समीर सिंह Sameer Singh on Fri, 29 Apr 2022 20:56:56 +0530)

> From: समीर सिंह Sameer Singh <lumarzeli30@gmail.com>
> Date: Fri, 29 Apr 2022 20:56:56 +0530
> Cc: emacs-devel@gnu.org
> 
>   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?
> 
>  
> I am an extreme novice, so please bear with me, but I cannot get the function to work. I tried to enter the
> following as the argument FONT OBJECT but none worked:
> #<font-object "-GOOG-Noto Sans Kaithi-regular-normal-normal-*-23-*-*-*-*-0-iso10646-1">
> "-GOOG-Noto Sans Kaithi-regular-normal-normal-*-23-*-*-*-*-0-iso10646-1" 
> "#<font-object -GOOG-Noto Sans Kaithi-regular-normal-normal-*-23-*-*-*-*-0-iso10646-1>"
> "Noto Sans Kaithi"
> "/usr/share/fonts/noto/NotoSansKaithi-Regular.ttf"

I suggest to use font-at to get the font-object you need for
font-get-glyphs.

>  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.
>  
> I want the font of devanagari and kaithi to be different, but since kaithi uses devanagari numerals and a
> devanagari font other than Noto Sans Kaithi does not render the number signs, I was asking that is it
> possible to only change the devanagari font to Noto Sans Kaithi if it is around a number sign.

No, that's not possible, sorry.

>  When you put the cursor at the number sign character, don't you see a
>  thin 1-pixel space there?
> 
> Yes, when the character is not visible in Emacs and whenI put the cursor in its place there is a thin 1-pixel
> space there.

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?



  reply	other threads:[~2022-04-29 16:13 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 [this message]
2022-04-30  4:52                 ` समीर सिंह Sameer Singh
2022-04-30  6:03                   ` Eli Zaretskii
2022-04-30  6:10                     ` समीर सिंह Sameer Singh
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

  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=83levnamv1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lumarzeli30@gmail.com \
    /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).