From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Not able to display \u110BD and \u110CD in Emacs Date: Fri, 29 Apr 2022 19:13:54 +0300 Message-ID: <83levnamv1.fsf@gnu.org> References: <83bkwkbfn1.fsf@gnu.org> <837d78bct1.fsf@gnu.org> <83zgk49n9l.fsf@gnu.org> <83v8us9j6p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33070"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuSBTYW1lZXIgU2luZ2g=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 29 18:24:38 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nkTQ5-0008TK-O7 for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Apr 2022 18:24:37 +0200 Original-Received: from localhost ([::1]:47218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkTQ3-0008FY-Pg for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Apr 2022 12:24:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkTFi-00070c-It for emacs-devel@gnu.org; Fri, 29 Apr 2022 12:13:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkTFi-0005ea-8X; Fri, 29 Apr 2022 12:13:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=iFCwsgTryYd1Uj/v64UkTYodAMDTceA5z1APGuSnKNU=; b=FUbeHqhhXkSpMF2Ws3w8 FKbVbbqWPzkzUfF7Ec8hsX6tkR3bFByUvtfA+84Z7Dc0NKqajLZu8xJZPMYaDLN65gBQyfUaPib/k 999PKGQGp55sFgi6uSZ2s7b7dJKMl2sUs+5R35mWzR75ZOXYozCC4cOCpsyFCO8A5YLgZ678Yid1V kT48nb+PKqRQlTuh/Cl/8Xc7SNprJaQDsOy1xkzezqtVOkijGM2Zz1FqMcq3JlIAp6VPX3OiPuxft Jvv+/uVs4mBaz4XmGmviiDnMVx9dr6ju5z7D6U+eCYp9Emewb4aRsxtiw4XoZ23P3XRr/3G9YOpUx q42kryGLYbVhkA==; Original-Received: from [87.69.77.57] (port=1777 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkTFh-0007yo-Ah; Fri, 29 Apr 2022 12:13:54 -0400 In-Reply-To: (message from =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuQ==?= Sameer Singh on Fri, 29 Apr 2022 20:56:56 +0530) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289005 Archived-At: > From: समीर सिंह Sameer Singh > 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: > # > "-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?