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: Incorrect glyph info in describe-char Date: Thu, 22 Jul 2021 13:06:17 +0300 Message-ID: <83tukm3bom.fsf@gnu.org> References: <837dhi4y19.fsf@gnu.org> <83y29y3f0a.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Anand Tamariya Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 22 12:07:25 2021 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 1m6Vbx-00028a-8I for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Jul 2021 12:07:25 +0200 Original-Received: from localhost ([::1]:36798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Vbv-0008Fn-QK for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Jul 2021 06:07:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6VbC-00077Q-1T for emacs-devel@gnu.org; Thu, 22 Jul 2021 06:06:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47024) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6VbB-0000N9-Px; Thu, 22 Jul 2021 06:06:37 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2889 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 1m6VbB-0000br-Du; Thu, 22 Jul 2021 06:06:37 -0400 In-Reply-To: (message from Anand Tamariya on Thu, 22 Jul 2021 14:42:42 +0530) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:271459 Archived-At: > From: Anand Tamariya > Date: Thu, 22 Jul 2021 14:42:42 +0530 > Cc: emacs-devel@gnu.org > > Could you please post the images here? TIA. > > See attached. Thanks. > Additional info: I applied text properties (it's in the describe-char output, but easy to overlook) using > (put-text-property (point) (1+ (point)) 'face '(:weight bold :slant oblique)) You did that only for a single character SHIN? But the image shows that the entire string is displayed by a font that is not DejaVu Sans Mono. And at least on my system, DejaVu Sans Mono doesn't have glyphs for the Hebrew block, so when I tell Emacs to use DejaVu Sans Mono as the default font, the Hebrew letters are displayed using a different font. If you don't apply the text property, do you see the Hebrew text displayed by DejaVu Sans Mono, or does Emacs use a different font for it? And what does describe-char say about that if you don't apply the text property? > Apparently, this is what is causing the issue. It could be, but I don't see how this could happen, by just looking at the code involved in this. I'm probably missing something.