From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yixuan Chen Newsgroups: gmane.emacs.bugs Subject: bug#73752: 29.4; Ligatures are randomly rendered with extra spaces Date: Sun, 27 Oct 2024 13:29:31 -0400 Message-ID: <617d0457-7044-48f8-af6a-fd2f41810696@xlk.me> References: <86zfn9ycis.fsf@gnu.org> <86o735als7.fsf@gnu.org> <87o73534dn.fsf@gmail.com> <86h68x8nuz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4643"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: luangruo@yahoo.com, 73752@debbugs.gnu.org To: Eli Zaretskii , Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 27 18:39:48 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 1t57Ey-00014K-CW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Oct 2024 18:39:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t57Ek-0007R9-HX; Sun, 27 Oct 2024 13:39:34 -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 1t57Ef-0007Qi-2x for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:39:30 -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 1t57Ed-0004Af-IW for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:39:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=DtwrIb4t17x1dGjMWePeKBUbEHfydoDucDwXBton8qc=; b=OPdRwwSLXjhxl3m61HiOU+eHs/l+Y8TUWsAvA1KapUGOclAYCURs1DyIbXQsRxv+7NI7C+z+0lO1Zz+pKR9yqw9dIB2L4kny9cuXmElNC7buLCeXLhb6XldjX4wvaTT260kdbAGpXlVDzknby46xiIU+npUKua7wVN9jJbqhcriwyOzJupSlw/Hj3f+Yd1mDGHZK01UtWwn8Szw+UL9sXxIKi+ferRPeHcfAFmrScAGO7hfDY1XFz2uGI7mX2m9qAH7vg+qIG+X3mRbX7M1d1Q8E8nsPsrdkLqXOkU5pb6IWHf2MhvGy+wZrS/IJumWlAIGX0dQKrwLDoHI4Vpnz8Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t57FC-0001NA-Hq for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yixuan Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2024 17:40: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.17300507775213 (code B ref 73752); Sun, 27 Oct 2024 17:40:02 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 27 Oct 2024 17:39:37 +0000 Original-Received: from localhost ([127.0.0.1]:46111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t57En-0001Lx-7V for submit@debbugs.gnu.org; Sun, 27 Oct 2024 13:39:37 -0400 Original-Received: from qs51p00im-qukt01072102.me.com ([17.57.155.11]:7279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t575i-0000tk-LK for 73752@debbugs.gnu.org; Sun, 27 Oct 2024 13:30:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xlk.me; s=sig1; t=1730050174; bh=DtwrIb4t17x1dGjMWePeKBUbEHfydoDucDwXBton8qc=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; b=Q8z2zgupsdQe3SkhXnkkzKXFi2CNd9bvee9oPbt9MPydvo71iyj4M6sBC2nGH52o4 uNoaq8i+1DdoFNd2bM9U3+j45wMeJPQ21bYNTXfNHfco6Tsa3kTlBoFSJEh8zk5xla rzn96teuLDFijvrIXZYOfqIWcUL5XUfDJV7wxVhpQMnTdcDyVFr1UaGfKJCLSagzTc Kgy7oSy1K9IEHUX2Sju1zgSSRnRybi7ls+v/m91oHspZQew+ULrZVVmT9nkHiXVmaN mMu0hB2RVl7Lo9oHDN75sKLTxeIte2Ghi+DxyPPw2f68a0QpSgOlD/o1g4cfW6YYbG IvGMT61Ft0urg== Original-Received: from [192.168.1.14] (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072102.me.com (Postfix) with ESMTPSA id 7C8D834045D; Sun, 27 Oct 2024 17:29:32 +0000 (UTC) Content-Language: en-US In-Reply-To: <86h68x8nuz.fsf@gnu.org> X-Proofpoint-GUID: 0CJyg7b15xdTWvmlaNHxSYBQkaTcvQov X-Proofpoint-ORIG-GUID: 0CJyg7b15xdTWvmlaNHxSYBQkaTcvQov X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-27_04,2024-10-25_02,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=590 adultscore=0 spamscore=0 clxscore=1030 mlxscore=0 malwarescore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2410270153 X-Mailman-Approved-At: Sun, 27 Oct 2024 13:39:35 -0400 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:294378 Archived-At: On 10/27/24 13:19, Eli Zaretskii wrote: > 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? It's not about frequency, but probably total number of font face attribute changes. The lisp code I submitted was changing the attributes rapidly just to recreate the problem faster. In real-life, this problem happens with normal emacs configuration, usually within half an hour. For reference, here (https://github.com/LukeXuan/dot-files/tree/e6067ec232ea34e01fb9a1f1a358d1c328d47c50/.config/doom) is my emacs configuration on top of doom. I primarily write LaTeX and Coq and this problem occurs every 30 minutes or so. The solution is to either restart emacs (what I used to do) or disable ligature altogether (what I do now).