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.bugs Subject: bug#73752: 29.4; Ligatures are randomly rendered with extra spaces Date: Sun, 27 Oct 2024 19:27:05 +0200 Message-ID: <86ed418niu.fsf@gnu.org> References: <86zfn9ycis.fsf@gnu.org> <86o735als7.fsf@gnu.org> <87o73534dn.fsf@gmail.com> <86h68x8nuz.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1089"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 73752@debbugs.gnu.org, xuan@xlk.me, visuweshm@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 27 18:27:40 2024 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 1t573C-00005s-GM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Oct 2024 18:27:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5732-0006Ob-UJ; Sun, 27 Oct 2024 13:27:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5731-0006OJ-HY for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:27:27 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5731-00037l-9C for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:27:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=OBqzJV9YSPHlUJVqzMsIipsH6UturRpWYGkbebm2CNc=; b=q2N9R/Vbr81l3cFRNIRLVEh+Wtr5DxuEOl8oyBJsS2Mt+GXJeJZbPecmXkgbfpUqSxf1RNESJGw8xUTYY4Y6FaiVMnqj7s87md5rAzTPrvyJH6CRBuTXLQqLL8CSlaQ8DSeOkAwIvG1vQCKRXDjemXj0u3x8kuj3U+Vnz8Yd+pwz7g1NImmwTw+hoLr/toH5H+j/qP0xJDS5NvDBoB+CxMRNKdkfienz02GamNhiiamtjMW8sz76ZNoUDEXYUCFd3eBNh5EaN84puFuSydKYdjiZrvJfjdv0HcpNJu/BbchDSoVct+UMIQYLV6wmPNoFMxP+HjiqxC+JqRGpZjc1EA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t573a-0000of-6R for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2024 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73752 X-GNU-PR-Package: emacs Original-Received: via spool by 73752-submit@debbugs.gnu.org id=B73752.17300500733121 (code B ref 73752); Sun, 27 Oct 2024 17:28:02 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 27 Oct 2024 17:27:53 +0000 Original-Received: from localhost ([127.0.0.1]:46088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t573Q-0000oH-KY for submit@debbugs.gnu.org; Sun, 27 Oct 2024 13:27:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t573O-0000o1-MV for 73752@debbugs.gnu.org; Sun, 27 Oct 2024 13:27:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t572k-00035x-2N; Sun, 27 Oct 2024 13:27:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OBqzJV9YSPHlUJVqzMsIipsH6UturRpWYGkbebm2CNc=; b=CrsjT078jaKM rtXAFdm3W4jL7a1z2WOQu/Jm0tMYitNXPXfJnFR/jjNn1vzTtFmobuANg1ddpjfIlmCIX07ZQgzYp 8e/8wFJMMsI0MlKrnSdbRhnHFfhpsoIfxwn8632SE9jg6jsw+EoD6B/fjKfp9JWSZaKDtAYA8Q7+q 6oB0DQIQE50AMKj+9PccnfGaik57tVzLOAmcaDs+wkW0tL6N/lKytPX8yLhPzokctc8FGkYVU8EJV HagojRtUVg7PhSBxwZu/wlLzJmS1Lu75AYD+jhmYJAEVqdBfLk5w+bNwTADaTrNXuhJDopFLvD1yB s5/c1yaFmA3A3+Wfo6vDBA==; In-Reply-To: <86h68x8nuz.fsf@gnu.org> (message from Eli Zaretskii on Sun, 27 Oct 2024 19:19:48 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294377 Archived-At: > Cc: luangruo@yahoo.com, 73752@debbugs.gnu.org, xuan@xlk.me > Date: Sun, 27 Oct 2024 19:19:48 +0200 > From: Eli Zaretskii > > It's quite clear from the image that the "misaligned" line uses a font > with a different slant/weight/height value. If that is the reason, I > guess the problem is with composition caching, but why is that an > issue in real life? Do real-life Lisp programs modify face font > attributes so frequently? Or maybe I don't understand the original problem. The bug report says "extra spaces", but eacg font has its own metrics of the SPC glyph, so highlighting a line with a given face can affect the metrics of the whitespace. Why is this surprising? Or what did I miss?