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 13:45:23 +0530 Message-ID: References: <837dhi4y19.fsf@gnu.org> <83y29y3f0a.fsf@gnu.org> <83tukm3bom.fsf@gnu.org> <8335s537c8.fsf@gnu.org> <83zgud1pq6.fsf@gnu.org> <83v9511nj8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fbfb4205c7c60106" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2659"; 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 10:16:33 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 1m6qMD-0000SP-IH for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Jul 2021 10:16:33 +0200 Original-Received: from localhost ([::1]:50040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6qMC-0002cv-H0 for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Jul 2021 04:16:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6qLJ-000190-IF for emacs-devel@gnu.org; Fri, 23 Jul 2021 04:15:37 -0400 Original-Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]:38855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6qLH-00064i-Pw; Fri, 23 Jul 2021 04:15:37 -0400 Original-Received: by mail-il1-x12d.google.com with SMTP id h18so814322ilc.5; Fri, 23 Jul 2021 01:15:35 -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=5X5eUkSpOL+HitvxJdCpxC/dF3I5q+biqZou0hcCl+w=; b=GC15zMi34Ua0cYAIC9KA6Q38yXotOTHHpQbOK2jz1+09IDBTbTRqM9GEU7fkFaMzGZ wO/puQZjV8ORP5FCcc29ljmXWmLxsOEFcX3eWJPX8qIpHBjjA578XdjS9pkZFIdRKjIO oDsMGhUwmaW7VQfixLQUcBtw3d7WelGp87cBcH4QdyKUZ31HohJ8Q8z84XTJTjHeozFK Hvv3DZZmDygFV2GjHg5ktlXkqGoo8R1272HQNRvmnI9sxq2Zsddsdt+ysY+ewxyt9Iot +3m18wlGDGVyky3qF7Tajr8mps5+q5xPvWtP1MsDYiE3TXfabuZjFdatuX6zOhEMvGhl HadQ== 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=5X5eUkSpOL+HitvxJdCpxC/dF3I5q+biqZou0hcCl+w=; b=KzL1Ekl1SKXxVFM/HDjUlkhsNulpluqdjNhLmtD8HE7SmyBP0JV6Du2xmK6Bp23/1C H4ozHgmrMAywBYCpkJAf3DXbTJUr2Tgkmwl928TRl3knQ5TSG+n4DLFZKnsY778CSc29 KWGUCxFhwngFJEcbq8X8sSpruc6jdO8ysQpgv8a9WDXo/LgiDOvTKSyowC0zH6OWlERn zuf+D/h+7iUOYxop1ZK36Yearnx3PrMcxEOmTNhejmUT2CjREdVHg0JdbSDkbJLge6VY iyYzmgtn6J/TVUUKLMM0IGkpNbWlhJoYcK7+BpsSaYOI22r4oAeV4wqCP0TSoSy++iPk 7ThQ== X-Gm-Message-State: AOAM531XTgHNLSgLFCxlTwLX/qKHHSohDVm4lPzp+3mKdx8mQtQtUGEP LfCO4rXH/N3MI88TOZBotJdgWWKbJa5yPV/jt2JtSjObXS0= X-Google-Smtp-Source: ABdhPJzjcGzwFELfj2zYUCcPlKBRm+Yp4M9UcliQtklMkVXtXei+lm0ZPfi0gVohQupW4xT0zelLC+60WJsaiAZ/36E= X-Received: by 2002:a92:3302:: with SMTP id a2mr2799717ilf.62.1627028134294; Fri, 23 Jul 2021 01:15:34 -0700 (PDT) In-Reply-To: <83v9511nj8.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::12d; envelope-from=atamariya@gmail.com; helo=mail-il1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, 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:271492 Archived-At: --000000000000fbfb4205c7c60106 Content-Type: text/plain; charset="UTF-8" On Fri, Jul 23, 2021 at 1:15 PM Eli Zaretskii wrote: > > From: Anand Tamariya > > Date: Fri, 23 Jul 2021 13:06:57 +0530 > > Cc: emacs-devel@gnu.org > > > > 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? > > > > (10 13 [[# O-normal-normal-normal-*-78-*-*-*-*-0-iso10646-1"> > > 1513 1473 1464] 47 [0 2 1464 967 0 6 20 -5 17 [8 0 0]] [0 2 1473 976 0 > 24 32 52 -45 [9 0 0]] [0 2 1513 1005 > > 48 2 46 44 0 nil]]) > > That's the correct font, which is unexpected: the above > find-composition call is from describe-char, so if that returns the > correct font, how come describe-char winds up reporting an incorrect > font? My bad. I mixed up the test. After applying the text property on SHIN, the result is: (10 13 [[# 1513 1473 1464] 63 [0 2 1464 1305 0 8 35 0 17 nil] [0 2 1473 1314 0 63 73 56 -48 nil] [0 2 1513 1344 58 6 67 43 0 nil]]) --000000000000fbfb4205c7c60106 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Jul 23, 2021 at 1:15 PM Eli Z= aretskii <eliz@gnu.org> wrote:
> From: Anand T= amariya <atamar= iya@gmail.com>
> Date: Fri, 23 Jul 2021 13:06:57 +0530
> Cc: emacs-dev= el@gnu.org
>
>=C2=A0 And what does the below display in the original case, i.e. with = Hebrew
>=C2=A0 points in the text:
>
>=C2=A0 =C2=A0 M-: (find-composition (point) nil nil t) RET
>
>=C2=A0 when point is on the SHIN character?
>
> (10 13 [[#<font-object "-PfEd-Linux Libertine Display O-normal= -normal-normal-*-78-*-*-*-*-0-iso10646-1">
> 1513 1473 1464] 47 [0 2 1464 967 0 6 20 -5 17 [8 0 0]] [0 2 1473 976 0= 24 32 52 -45 [9 0 0]] [0 2 1513 1005
> 48 2 46 44 0 nil]])

That's the correct font, which is unexpected: the above
find-composition call is from describe-char, so if that returns the
correct font, how come describe-char winds up reporting an incorrect
font?
=C2=A0
My bad. I mixed up the test. Af= ter applying the text property on SHIN, the result is:
(10 13 [[#= <font-object "-PfEd-DejaVu Sans-bold-oblique-normal-*-78-*-*-*-*-0-= iso10646-1"> 1513 1473 1464] 63 [0 2 1464 1305 0 8 35 0 17 nil] [0 = 2 1473 1314 0 63 73 56 -48 nil] [0 2 1513 1344 58 6 67 43 0 nil]])
--000000000000fbfb4205c7c60106--