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#71454: 30.0.50; Performance issues with font selection Date: Mon, 10 Jun 2024 14:58:01 +0300 Message-ID: <864ja19fhy.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12878"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71454@debbugs.gnu.org To: Kai Ma Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 10 14:11:13 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 1sGdrl-00034M-Bl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Jun 2024 14:11:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGdrZ-00035c-O6; Mon, 10 Jun 2024 08:11:01 -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 1sGdrJ-0002yi-3q for bug-gnu-emacs@gnu.org; Mon, 10 Jun 2024 08:10:46 -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 1sGdrI-0003U4-OL for bug-gnu-emacs@gnu.org; Mon, 10 Jun 2024 08:10:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sGdrZ-000346-Kv for bug-gnu-emacs@gnu.org; Mon, 10 Jun 2024 08:11: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: Mon, 10 Jun 2024 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71454 X-GNU-PR-Package: emacs Original-Received: via spool by 71454-submit@debbugs.gnu.org id=B71454.171802143911689 (code B ref 71454); Mon, 10 Jun 2024 12:11:01 +0000 Original-Received: (at 71454) by debbugs.gnu.org; 10 Jun 2024 12:10:39 +0000 Original-Received: from localhost ([127.0.0.1]:58111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGdrC-00032N-N6 for submit@debbugs.gnu.org; Mon, 10 Jun 2024 08:10:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGdfO-00084R-QA for 71454@debbugs.gnu.org; Mon, 10 Jun 2024 07:58:27 -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 1sGdf2-0000FY-7M; Mon, 10 Jun 2024 07:58:04 -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=TPYmNwTRcJLLbdojTtLmqRTFQAVgGHMWA6jvKFqQ+0g=; b=btURYVEKpugC wQ9qce3P98lYSnBY5H359zATiowPU8kep61PaWCW9Ma+NVbMuLV/HPTPallqxzskCq7UQ/brCR4zL b8uTvn5r5OiEu/DD8bgMLQ/c3p/zePHNe9AXQ5xiPx1FSXTKIjPe56SNCgXOVlLlGQaOuKhfeIBN8 gCR1mtjO7BAOJi1Sm7uNbxseQmM1k4Rwd7RbRBKUnKB2fKXB9hEl2jQioCTGWgckDmn8rhamZCYrj o4rkN8oygXRFy8ZvlYUksiVCZ0nGBYe1u3wDpbtVm4dCbU+wF29OVaiQW6y4wM8B0oGEWh680IZ+s O50wu5wxrL0gTzKOQX+dQg==; In-Reply-To: (message from Kai Ma on Sun, 9 Jun 2024 20:56:47 +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:287026 Archived-At: > From: Kai Ma > Date: Sun, 9 Jun 2024 20:56:47 +0200 > > I have currently (length (font-family-list)) = 582 font families > installed. And whenever I input some ununsual characters, Emacs will > freeze for seconds until I am able to do anything else. Worse, the > freeze delay for each character will add up. And whenver the face > changes (including hl-line-mode), or I switched to another buffer for > some time, there will be a delay again. FTR, I have 553 font families, and I see no significant delay when pasting the characters you show. > I'm pretty sure this is due to font selection, because Emacs won't > freeze if I configure manually the fallback fonts for each 'exotic' > script I encounter. If this is the case, please tell the details: which fonts you need to configure manually to eliminate the delay.