From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Moses Newsgroups: gmane.emacs.bugs Subject: bug#32159: 26.1; inhibit-compacting-font-caches does not fix all fonts lagging issue Date: Mon, 16 Jul 2018 10:35:07 +0800 Message-ID: References: <83muut9q8m.fsf@gnu.org> <83in5ga7dc.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1531708447 10126 195.159.176.226 (16 Jul 2018 02:34:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 02:34:07 +0000 (UTC) Cc: 32159@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 04:34:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fetKs-0002XS-RS for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 04:34:03 +0200 Original-Received: from localhost ([::1]:48572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fetMz-00080T-OO for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jul 2018 22:36:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fetMt-00080O-Dj for bug-gnu-emacs@gnu.org; Sun, 15 Jul 2018 22:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fetMo-00036n-9z for bug-gnu-emacs@gnu.org; Sun, 15 Jul 2018 22:36:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37162) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fetMo-00036X-5c for bug-gnu-emacs@gnu.org; Sun, 15 Jul 2018 22:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fetMn-0002a2-S7 for bug-gnu-emacs@gnu.org; Sun, 15 Jul 2018 22:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Moses Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32159-submit@debbugs.gnu.org id=B32159.15317085519902 (code B ref 32159); Mon, 16 Jul 2018 02:36:01 +0000 Original-Received: (at 32159) by debbugs.gnu.org; 16 Jul 2018 02:35:51 +0000 Original-Received: from localhost ([127.0.0.1]:42180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fetMc-0002Zd-NG for submit@debbugs.gnu.org; Sun, 15 Jul 2018 22:35:50 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:41275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fetMb-0002ZP-FT for 32159@debbugs.gnu.org; Sun, 15 Jul 2018 22:35:49 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id j5-v6so23755676wrr.8 for <32159@debbugs.gnu.org>; Sun, 15 Jul 2018 19:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bpY3vwAWJ2h5DaAoJaCrFY1ME+eyYTs3yIz1SS+yp40=; b=L8POzsRjPQVncn8ZFkRTyLAsLafPp4RMUhN+vVZYjBppa7BzEewBXx/xFyQvxGd91I r/ZnkXE7PTdu/wHbQ0MYTsAAPithnlbo2HCQfhroiiz4H/QsZVF+ihhcAC/O2/M5fcHF BEutj/FXnWtAuwYeKvRGmgoyAbIyLqXG3r5AsNI27XOAlCXzP0YLJx22jexpaeuxoLe3 i+kOmsZGpPttGpkNRzQEEUJT0nlgPdbvTziGsp837pcMDtgOJzBC+L6AZ6uUzcglUR6O hS2lFH3860uMCHdUkZ17VOMGaPV1ap15RVAWITAhXe7ioWydH1uT/8t6uStQAdegEQMg jMwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bpY3vwAWJ2h5DaAoJaCrFY1ME+eyYTs3yIz1SS+yp40=; b=e+PXn6qsH3ACDpnsAhYBoX+vBT8uZDi38y+aM4ohyELaFEGEEQaqnDqbiOeehAl57P 340DmvNPmWOeUTSiUntL/dr7jCwZaq9ZGp64uxHQXBb7xS8OujvLJKjS+/OPtPJRxvB1 vn4YY97Xtfwzh/RoJA2yKNGhUO3JixOmrF6XzWoJLrwGLRs3TN7t91E7N/pXTeFqiOzq P4lR04N0inqyVt3w43YpKh60d6k1P2h0N1+mGsdJMa/AjsiC8sPJj0RDfZJI6MWEemaT pNl9hQmazScmsVvrcuMRt6SEGtpDGeoxDdZwffjqB99rUiCEsPmFIpLxMBZd6MyAfaFI +VQQ== X-Gm-Message-State: AOUpUlHkDIGIOD5Y+Kik3f3ANrcrDKS/B4DvISxLGOoqVd2hcs7vooOD XKN9XSPZNaJrquHgoWmD0jYUezeSgIaPPXULPmY= X-Google-Smtp-Source: AAOMgpeZiHRRAdYb9Z120V1dhSLwnisjiPYulf7Ddx9KzzVq1rHXFix2QTg470H4LUiPofg8Dw/C1xq699ZN9gS3kX4= X-Received: by 2002:a5d:4306:: with SMTP id h6-v6mr10995004wrq.58.1531708543512; Sun, 15 Jul 2018 19:35:43 -0700 (PDT) In-Reply-To: <83in5ga7dc.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148553 Archived-At: On Sun, Jul 15, 2018 at 2:41 PM Eli Zaretskii wrote: > > > From: Moses > > Date: Sun, 15 Jul 2018 05:50:26 +0000 > > Cc: 32159@debbugs.gnu.org > > > > You are right. I got 5906 installed fonts returned from (length > > (x-list-fonts "*")). However, this still a problem, which is really > > annoying when editing files that contain more than one language. > > Do some of the characters in HELLO display as boxes with hex code > inside them, and if so, do you see slow-down when Emacs is about to > display those characters? If the answer to both question is YES, I > can suggest a customization to try that might help you avoid the > slowdown (assuming you don't need to be able to display characters > from those scripts), but please tell what characters are involved in > this. Nope...all characters in the HELLO file can be display correctly without a problem, the lagging issue only appears while opening the file. Once it already opened, there is no more slowdown. > > Other editor does not have the similar issue. > > AFAIK, no other editor supports such a large variety of fonts. I mean other editors do not have slowdown problem while opening such a relatively small file. They are not as mighty as Emacs of course. That's why I am using Emacs to process editing :) > > I am not an expert, but as far > > as I know, the font fallback link is already stored in the register > > under key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > > NT\CurrentVersion\FontLink\SystemLink, why Emacs still needs to search > > fonts multiple times? > > I don't think that Registry setting is relevant to the issue at hand. > Emacs looks for fonts based on its internal database of features > required by each script.