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: Fri, 23 Jul 2021 09:58:09 +0300 Message-ID: <83zgud1pq6.fsf@gnu.org> References: <837dhi4y19.fsf@gnu.org> <83y29y3f0a.fsf@gnu.org> <83tukm3bom.fsf@gnu.org> <8335s537c8.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="28719"; 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 Fri Jul 23 08:59:04 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 1m6p9D-0007JD-T3 for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Jul 2021 08:59:03 +0200 Original-Received: from localhost ([::1]:50472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6p9C-0002uS-UF for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Jul 2021 02:59:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6p8f-000216-Or for emacs-devel@gnu.org; Fri, 23 Jul 2021 02:58:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48302) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6p8f-0000sg-Gp; Fri, 23 Jul 2021 02:58:29 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3994 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 1m6p8e-0005n2-W5; Fri, 23 Jul 2021 02:58:29 -0400 In-Reply-To: (message from Anand Tamariya on Fri, 23 Jul 2021 12:11:17 +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:271489 Archived-At: > From: Anand Tamariya > Date: Fri, 23 Jul 2021 12:11:17 +0530 > Cc: emacs-devel@gnu.org > > . what does describe-char report for the SHIN character before you > put the text property? > > Linux Libertine Display O > > . Your original report shows Hebrew text with diacritics (so-called > "Hebrew points"). Specifically, the letter SHIN is followed by > two such diacritics: U+05C1 and U+05B8. Emacs composes those on > display into a single grapheme cluster. If you use the Hebrew > text without those diacritics, i.e. just "שלום", does the problem > happen in that case as well, i.e. do you still see the incorrect > font name after adding the text property? > > This atleast applies the weight correctly but reported font is DejaVu Sans-bold. OK, thanks. And in the last case, the text us indeed displayed using DejaVu Sans, i.e. the glyphs look similar to what ftview shows? And what does the below display in the original case, i.e. with Hebrew points in the text: M-: (find-composition (point) nil nil t) RET when point is on the SHIN character?