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 12:21:44 +0200 Message-ID: <86o735als7.fsf@gnu.org> References: <86zfn9ycis.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73752@debbugs.gnu.org To: Yixuan Chen , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 27 11:22:50 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 1t50Q6-0003W5-Os for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Oct 2024 11:22:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t50Pl-0001Ww-HI; Sun, 27 Oct 2024 06:22:29 -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 1t50Pj-0001WA-Jv for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 06:22: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 1t50Pj-0002dz-BM for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 06:22: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=FNk++Y3tUZ52PmMlvLqSDwHvzMOy/nmX60SXCxOL0lE=; b=CVwKXCCZoRYrDbWeKDY8EUY8xOkD+f+JqejSktSF1X3RUjiNJwM8qV3EWNolabG1rYkxzUcPJHss94W1KmnKl4JY2s65d1SU/Ye+SHu/j2lQl+IaSFRf0HlOQ68sOHB3AiA0BC/8pAj0PQ6JQ1GKNAqquot5Y5emhveTx9lou+QX2MIU3JFN+KyHuCZTiaZiilRtFpxwvYVEY/S7S7njiRw8Z1JvpUofDwcDjOJXyBR0YVl1m8LHRCNmPd0vOygPQLkHCdcLbqT2x6j1zNYLYQMkaLeiMkYnsvTuDtX0tVu8uCC4ErSr1N6oFm3V74cSuSA+V3I6o4nDV7o+vF2YOA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t50QH-0005s4-Ru for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 06:23:01 -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 10:23:01 +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.173002455122501 (code B ref 73752); Sun, 27 Oct 2024 10:23:01 +0000 Original-Received: (at 73752) by debbugs.gnu.org; 27 Oct 2024 10:22:31 +0000 Original-Received: from localhost ([127.0.0.1]:43891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t50Pn-0005qq-0i for submit@debbugs.gnu.org; Sun, 27 Oct 2024 06:22:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t50Pk-0005qb-Ui for 73752@debbugs.gnu.org; Sun, 27 Oct 2024 06:22:29 -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 1t50P4-0002Zf-TS; Sun, 27 Oct 2024 06:21:48 -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=FNk++Y3tUZ52PmMlvLqSDwHvzMOy/nmX60SXCxOL0lE=; b=lcljlt0HRUMc e9Q8PtP66Xx5nLAHeZLBIcYItQ6ySkKPc6qSXj33VXNgANwDz4YcI1JGUIYmaE2b7OGI7WBDDyuVk Sj0Hu3jf9Z9cMVQdb2uRXZPJ5xk51SdacmCmm5K3Yh7YjH6sz3SCHtzlA9uPT8qgs64P4BxcuQnsO uSPbdfOP0ZZDC6RGE4/ur//V5uVkmbIicX5Q80ZCjnMZON05EcUUr0Ki9c4TFWj3LjCL/kOHZSIFH z6Y1B8m23bVKRr3Onzq99kb2c46r3ONEAZjtZMJOxM96Zl8ml4WbfcC5DEZuoXVkNDF6oAZM5FYbZ 90tJxqEr2DVDiEYhfRFwzw==; In-Reply-To: (message from Yixuan Chen on Sat, 12 Oct 2024 12:09:02 -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:294321 Archived-At: Ping! Unless someone can debug this, I'm going to close this bug as unreproducible. > Date: Sat, 12 Oct 2024 12:09:02 -0400 > Cc: 73752@debbugs.gnu.org > From: Yixuan Chen > > On 10/12/24 04:02, Eli Zaretskii wrote: > > I cannot reproduce the problem on my system. I've let Emacs randomize > > the fonts for quite some time, and everything keeps rendering > > correctly without the extra spaces. When you say "eventually", how > > long do you typically wait until the problem appears? > > It took me 5 seconds at most, and usually happened immediately. > > > (As two deviations from your init.el, I used a different font > > (Cascadia Code), since I don't have JetBrains Mono installed; and I > > replaces use-package with the equivalent Lisp, since I don't want to > > install ligatures.el on this system. I don't think these two > > deviations should matter, but I mention them FTR.) > > I can replicate the same problem (and even worse in some cases) using > Cascadia Code. > > The `use-package` should be replaceable, except you want to keep the > list of ligature strings formatted in the same way. I'm not fluent in > Elisp or emacs API, so my dumb way of randomization is achieved through > regexp matching over the ligature strings. If they are re-organized in > some way (say merged into one huge line), it might break the randomization. > > > I think this might be system-dependent. Can someone try this in a > > Cairo build on GNU/Linux and see if the problem reproduces? > > Potentially, I'm using emacs-pgtk on wayland. >