From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#54646: 29.0.50; set-fontset-font and font clipping issues Date: Sun, 12 Jun 2022 13:17:26 +0530 Message-ID: <8735gawcfl.fsf@gmail.com> References: <875ynuokqt.fsf@gmail.com> <87a6d69g46.fsf@gmail.com> <87h77dk3zn.fsf@gmail.com> <87a6d5jyat.fsf@gmail.com> <87wng989ym.fsf@gmail.com> <83ilrt5b1v.fsf@gnu.org> <87h77cetq9.fsf@gmail.com> <831qyg6cyt.fsf@gnu.org> <87czi0eoyx.fsf@gmail.com> <83wng84rf8.fsf@gnu.org> <874k3aede0.fsf@gmail.com> <83y20m32h2.fsf@gnu.org> <87zgl2cvj8.fsf@gmail.com> <83wng630fg.fsf@gnu.org> <87v8vqcthz.fsf@gmail.com> <87wnfitrqy.fsf@gmail.com> <83zgkdpoo2.fsf@gnu.org> <87pml9tmz4.fsf@gmail.com> <83r15ppf5b.fsf@gnu.org> <87tu8rs3uf.fsf@gmail.com> <83tu8qwhou.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8020"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: rpluim@gmail.com, 54646@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 12 09:48:34 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1o0IKn-0001uw-SH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 09:48:33 +0200 Original-Received: from localhost ([::1]:40664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0IKm-0005i3-Cp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 03:48:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0IKI-0005gb-Er for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 03:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0IKI-0004P5-1X for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 03:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0IKI-0003JS-0b for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2022 03:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jun 2022 07:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54646 X-GNU-PR-Package: emacs Original-Received: via spool by 54646-submit@debbugs.gnu.org id=B54646.165502005812588 (code B ref 54646); Sun, 12 Jun 2022 07:48:01 +0000 Original-Received: (at 54646) by debbugs.gnu.org; 12 Jun 2022 07:47:38 +0000 Original-Received: from localhost ([127.0.0.1]:54586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IJt-0003Gt-MB for submit@debbugs.gnu.org; Sun, 12 Jun 2022 03:47:38 -0400 Original-Received: from mail-pf1-f194.google.com ([209.85.210.194]:45781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0IJr-0003GT-Te for 54646@debbugs.gnu.org; Sun, 12 Jun 2022 03:47:37 -0400 Original-Received: by mail-pf1-f194.google.com with SMTP id x138so3109770pfc.12 for <54646@debbugs.gnu.org>; Sun, 12 Jun 2022 00:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=bpaxzhkKUZmmutqoPjjNZ/Thy0Pw4m87T/ebhTbV+Vg=; b=PGKJyhSslqfgy7KQTeTfXd4eZ642K103IzcF6pJtYzZI0eMgi3re3YnVkStLmIQtH2 P+Dsw5Xw83tSRh+47m4hX92VZx1uKcBBtzl1BshnV/QLE92TfaZB8hv8F7x4qRwxuB8b wr5qlKtEgnVfkPG3N1marFvz18YYP5OPA/TE/RZjxU7X4vpnaMhWVP4xtS2+QTu1vyqK aNPOV0fIoPXQsb3nezDH4272Leu2ec9VM7uK0+ao26MA+e+yP8qlYJPHYrT9d0ITeu3k ppfQ81eAKLnqnZQnYRSqVqu46xrxHGNnYtDwOGZuj2qPFpZCt+OLgBGg+14LvG1T8c99 k3Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=bpaxzhkKUZmmutqoPjjNZ/Thy0Pw4m87T/ebhTbV+Vg=; b=hSfbb0OjsUnWL722MvGp6n2xsGHS5J4YYthYQoUxahc1iBg/84I/MV+Ta6Y8si+AvO MJvUpY0c3IoT3FX43ujmqPVyQSeRHUZTTdcgrl97ymmaNf2wIr4qk7LAB8SHzFoJnw7j IpecFVr5BKg77LLnLOUXSINEGreiFgRcg5m/0UvbRgXHmWsN/1bQo4hRlZARY5JVAMLb ui9toEFVp+Cg9bDBeIs6uPQoEBVKhpuUrr5GZfN9sU977PbWzGRTvr1zjNSgWo7XeJqI lhxU5Bn9r0X33cHplxxUEbOFUskT3NnZFkE1Qwuzi6uib5v+9GxeQu5PGrDaWQFke7XC 7mBg== X-Gm-Message-State: AOAM530lAKKEKYC15Rzr7VTZHP2ESOT/8MHh22Y21M6Uwp7xV8RwO7q2 90JN1qmnZMHZxyIsYiMhSmw= X-Google-Smtp-Source: ABdhPJzAodbJpl5/wvgeC9s420D77oHTcoBa/E8VB+nJXqfzkTsUfET5YVK2J3868q5jr7Ju7gepPQ== X-Received: by 2002:a65:6cc8:0:b0:3fe:2b89:cc00 with SMTP id g8-20020a656cc8000000b003fe2b89cc00mr19947781pgw.599.1655020049893; Sun, 12 Jun 2022 00:47:29 -0700 (PDT) Original-Received: from localhost ([49.204.137.20]) by smtp.gmail.com with ESMTPSA id ev14-20020a17090aeace00b001df82551cf2sm2659540pjb.44.2022.06.12.00.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 00:47:29 -0700 (PDT) In-Reply-To: <83tu8qwhou.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jun 2022 08:53:53 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234330 Archived-At: [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 12, 2022 08:53] Eli Zaretskii wrote: >> From: Visuwesh >> Cc: rpluim@gmail.com, 54646@debbugs.gnu.org >> Date: Sat, 11 Jun 2022 19:24:16 +0530 >>=20 >> I think this might be a cairo+pango problem. > > I don't see how Pango could be relevant: AFAIK we don't use any of it > in Emacs. > I was under the impression that cairo used pango somewhere but, % ldd /usr/lib/x86_64-linux-gnu/libcairo.so.2 |grep pango returned nothing. However, % ldd $(which emacs) |grep pango libpangocairo-1.0.so.0 =3D> /lib/x86_64-linux-gnu/libpangocairo= -1.0.so.0 (0x00007f1c4401f000) libpango-1.0.so.0 =3D> /lib/x86_64-linux-gnu/libpango-1.0.so.0 = (0x00007f1c43fb9000) libpangoft2-1.0.so.0 =3D> /lib/x86_64-linux-gnu/libpangoft2-1.0= .so.0 (0x00007f1c4363f000) > It could be a Cairo issue, in which case it is somewhere in the bowels > of Cairo, not in Emacs code proper. > >> My suspicion is due to this bug report >> https://github.com/harfbuzz/harfbuzz/issues/1892 -- although I don't >> see the problem with English text as shown in the screenshots. > > If this is the same issue, how come you sometimes see correctly laid > out text and sometimes incorrectly laid out text? Emacs doesn't > change anything in both situation, and I'm not aware of any handling > of "hinting" on our side. AFAIU, the issue shows itself when Emacs renders some part of the Tamil characters and but not all. This is a common case in eww: headers are rendered in a slightly larger font size than the main body text. Anyway, I don't think it is the same issue, but what I wanted to convey by quoting that bug report is that it made suspect that the problem might be in cairo or pango.