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:46:55 -0400 Message-ID: References: <86zfn9ycis.fsf@gnu.org> <86o735als7.fsf@gnu.org> <87o73534dn.fsf@gmail.com> <86h68x8nuz.fsf@gnu.org> <86ed418niu.fsf@gnu.org> <6566317e-03bb-4856-9cc8-5e90c2875e44@xlk.me> <86cyjl8mqs.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="17389"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: luangruo@yahoo.com, 73752@debbugs.gnu.org, visuweshm@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 28 02:16:20 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 1t5EMl-0004ML-Qw for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Oct 2024 02:16:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5EMF-0006Ig-22; Sun, 27 Oct 2024 21:15:47 -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 1t5ELv-0006Fb-U2 for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 21:15:31 -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 1t5ELv-0003x0-LG for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 21:15:27 -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=LNkPKcPJf2lUeMrSIN72bXedPzx84PdxJd6W2ZVzCsM=; b=c1sW3049r/yGJRo7dVjN/9IsNrFU/Zza8OrEaC5Nh8hZK11l67EQjY/uCYtxvNy09f3cImb3Ncq28nXVhYoG6ISLXHdDXhqYeKIMFfVdAEZChxY86KF2kkbyR2EpGqI3T3+3XW/fxPktTRLMvSgggfd5APlnIbf0AfcTQ85X4tpXoDG42S0zRSkDzZf72og1s5Xe5KGFeE/jtqeZ4KNbXqcQ7yVlAoj821LQn3MYiMbLIaJieS7QwRMoL+P8rQykSpeVaCPD0qL1Sj7FyYBLTPKMBlS9Vk1YPfLUc2DO/vsyFiPy8Nr23D+m8nTAubUXybtH9n4MiUeWPrK0FiLWfQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5EMV-0002ux-0f for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 21:16:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yixuan Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2024 01:16: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.173007815911170 (code B ref 73752); Mon, 28 Oct 2024 01:16:02 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 28 Oct 2024 01:15:59 +0000 Original-Received: from localhost ([127.0.0.1]:48476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5EMN-0002u0-DL for submit@debbugs.gnu.org; Sun, 27 Oct 2024 21:15:59 -0400 Original-Received: from qs51p00im-qukt01072701.me.com ([17.57.155.16]:3285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t57MY-0001nZ-6x for 73752@debbugs.gnu.org; Sun, 27 Oct 2024 13:47:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xlk.me; s=sig1; t=1730051217; bh=LNkPKcPJf2lUeMrSIN72bXedPzx84PdxJd6W2ZVzCsM=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; b=fnVJm+SCHH754QL62kEKkoy5ZK778u3rfeuInE4kyVIWttij0Z8Lv5eufPPbheWXd PbF5RbZpLncwrcnjfOf71pojyoQNrwJCwUtF5oXY1qlYk4eO48l/cydEKFRUOC5vN0 K/gvTUyJEXYCtGoZ75Xy7zY4iOP76A1bfcv90MWRVteVoyymsdf5Low1QVoqGAkB0V Oc1a2HMBMr2JqaotIleFX/nVSakZa1P28fUhbFlp64ARNlzk7/zHIoPNK9llvucAHg ALBtT+9YB1gSa3wpH5xgwwdds+mPKkrZsNtFxZoeRWkq2JguCk9ZYNqLb3KtUG61wC Qf3oYVlKm/kpg== Original-Received: from [192.168.1.14] (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072701.me.com (Postfix) with ESMTPSA id CC14F15C016A; Sun, 27 Oct 2024 17:46:56 +0000 (UTC) Content-Language: en-US In-Reply-To: <86cyjl8mqs.fsf@gnu.org> X-Proofpoint-ORIG-GUID: 1JV1vEZaF0HJSRnJReEhbLCUHes851ma X-Proofpoint-GUID: 1JV1vEZaF0HJSRnJReEhbLCUHes851ma 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 spamscore=0 adultscore=0 suspectscore=0 mlxscore=0 clxscore=1030 bulkscore=0 mlxlogscore=409 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2410270156 X-Mailman-Approved-At: Sun, 27 Oct 2024 21:15:53 -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:294400 Archived-At: > Sorry, I still don't understand. Your code does > > (highlight-lines-matching-regexp (cdr face) (car face)) > > This potentially shows each line in a different face, and thus can > affect the metrics of the SPC character glyph which is what the > indentation is made of. So why is this a problem, let alone a bug? The problem is executing that line at 10PM today may render the font one way, while executing that line at 6AM tomorrow (with exactly the same "face" variable) may render the font a different way, even if all the other variables remains the same.