From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Re: Incorrect glyph info in describe-char Date: Fri, 23 Jul 2021 12:11:17 +0530 Message-ID: References: <837dhi4y19.fsf@gnu.org> <83y29y3f0a.fsf@gnu.org> <83tukm3bom.fsf@gnu.org> <8335s537c8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007b17fa05c7c4b1b9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31791"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 23 08:43:07 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 1m6otn-00089o-3S for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Jul 2021 08:43:07 +0200 Original-Received: from localhost ([::1]:37940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6otm-0001wF-4E for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Jul 2021 02:43:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6osF-0000Z0-OP for emacs-devel@gnu.org; Fri, 23 Jul 2021 02:41:32 -0400 Original-Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]:33440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6osE-0003Db-5s; Fri, 23 Jul 2021 02:41:31 -0400 Original-Received: by mail-il1-x12c.google.com with SMTP id y4so686162ilp.0; Thu, 22 Jul 2021 23:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rkWuVUNA96yPpxca/Do+EBlGqRNhtktkjFYmEU2Rut4=; b=QUR/5c7Mx2IJHppekZc3IfC5GiTdqSo+ytSDKCSXHzEDQBiEcCWCiEwaKg3FxRuP9d ebhJgs2JpSYW8dhgvkHMjTxHaiPvFd1KHI25UtsjpiOptHvWgXevlcUMsTx5tMx+qnkj wCGeUe5q+1x4TaIF/3DYdI7pyCRZEZvw+MhuUtQNhSOg1ibHGz6/vrRJeDKUkYDzbvtD a5nTkKKLbghlvtfKyCGOT+u/02oO2WHgrxkPSM+V7mPz3HPL2W6uMjqdrvtAPlHSCE87 9jtxQn/S6lHHVYzFux5VKOiUYqg74+1MMy/EtQEOdTsOFJfbC9IJYLO9m9mAU7wFipt+ aPgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rkWuVUNA96yPpxca/Do+EBlGqRNhtktkjFYmEU2Rut4=; b=fSqXViGqkQMmS7KqOF/l4rJXJE/fVfPMGEfoGY4K8+PYn7AsXAO3IjTfmm+UznodrT 5JZhO72cY06Gd1BnZrNPx0dQ6iW/GWRk4Blqnp6+50lRjdRBAPa32FmafDCofjJwjlye 0Jm5xOU51Jf8vYCt7cza9IKCdBSU8k9HMxrYMfW6IJeTsue9+R9f3EzxaGOtp0aXdK3+ EDOw5tANT1r6iPYjYoJvtbM4cL4N0e0K3vU3xMKijTURnMxTSg/hSWVqapEWVoLOvK9F EetehL0yV6toeZWHPLk8dDn1efkOuGL687TAjmlsjz1PbOSWeMHaRnnVQAaOTicNZkyV dbWg== X-Gm-Message-State: AOAM531uCk76rHdJ1QCroFp8GpZb1/G65RpbffWMs0xfJA72tNt/1zPx Ek1smyg5jWbQucxvZ/C9NwNKI8583Tk9pxKBfGGDij/yKmA= X-Google-Smtp-Source: ABdhPJxbYyEDVwEKkT09u2Jw+Dx0fbmZP2s997OLxjoVuUThBJG9g2Ls+VGoWChPfF0Og6KIl1fqIrJuqnJyjpth99Q= X-Received: by 2002:a92:3009:: with SMTP id x9mr2466178ile.49.1627022488702; Thu, 22 Jul 2021 23:41:28 -0700 (PDT) In-Reply-To: <8335s537c8.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::12c; envelope-from=atamariya@gmail.com; helo=mail-il1-x12c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:271488 Archived-At: --0000000000007b17fa05c7c4b1b9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > . did you put the text property only on the single character SHIN or > on the whole Hebrew text? > Only on single character using (put-text-property (point) (1+ (point)) 'face '(:weight bold :slant oblique)) while the point was under that character. . 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 "=D7=A9=D7=9C=D7=95=D7=9D", = 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. --0000000000007b17fa05c7c4b1b9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

=C2=A0 . did you put the text property only on the single character SHIN or=
=C2=A0 =C2=A0 on the whole Hebrew text?
=C2=A0Only on = single character using (put-text-property (point) (1+ (point)) 'face &#= 39;(:weight bold :slant oblique)) while the point was under that character.=

=C2=A0 . what does describe-char report for the SHIN character before you =C2=A0 =C2=A0 put the text property?
Linux Libertine D= isplay O


. Your original report shows Hebrew text with diacritics (so-called
=C2=A0 =C2=A0 "Hebrew points").=C2=A0 Specifically, the letter SH= IN is followed by
=C2=A0 =C2=A0 two such diacritics: U+05C1 and U+05B8.=C2=A0 Emacs composes = those on
=C2=A0 =C2=A0 display into a single grapheme cluster.=C2=A0 If you use the = Hebrew
=C2=A0 =C2=A0 text without those diacritics, i.e. just "=D7=A9=D7=9C= =D7=95=D7=9D", does the problem
=C2=A0 =C2=A0 happen in that case as well, i.e. do you still see the incorr= ect
=C2=A0 =C2=A0 font name after adding the text property?
=C2=A0This atleast applies the weight correctly but reported font is Deja= Vu Sans-bold.
--0000000000007b17fa05c7c4b1b9--