From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21028: Slow font rendering in emacs Date: Tue, 14 Mar 2017 19:11:06 +0200 Message-ID: <83a88nbx79.fsf@gnu.org> References: <559F9FAF.8090708@live.com> <83zigpayz8.fsf@gnu.org> <83tw6wc3mz.fsf@gnu.org> <3c939f8c-8f78-12b8-3e07-242aa6dd12be@ralfj.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1489511618 10624 195.159.176.226 (14 Mar 2017 17:13:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2017 17:13:38 +0000 (UTC) Cc: 21028@debbugs.gnu.org To: Ralf Jung Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 14 18:13:33 2017 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 1cnq0k-0001YH-PH for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Mar 2017 18:13:26 +0100 Original-Received: from localhost ([::1]:60843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnq0q-00023a-HF for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Mar 2017 13:13:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnpzS-0000y3-Os for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2017 13:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnpzO-0000bR-3Z for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2017 13:12:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cnpzN-0000bN-Vy for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2017 13:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cnpzN-0007Of-MP for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2017 13:12: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: Tue, 14 Mar 2017 17:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21028 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21028-submit@debbugs.gnu.org id=B21028.148951151428419 (code B ref 21028); Tue, 14 Mar 2017 17:12:01 +0000 Original-Received: (at 21028) by debbugs.gnu.org; 14 Mar 2017 17:11:54 +0000 Original-Received: from localhost ([127.0.0.1]:55878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnpzG-0007OJ-79 for submit@debbugs.gnu.org; Tue, 14 Mar 2017 13:11:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnpzE-0007O5-6k for 21028@debbugs.gnu.org; Tue, 14 Mar 2017 13:11:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnpz4-0000SY-Hx for 21028@debbugs.gnu.org; Tue, 14 Mar 2017 13:11:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnpz4-0000SS-Dx; Tue, 14 Mar 2017 13:11:42 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4428 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cnpz3-0006oa-Bk; Tue, 14 Mar 2017 13:11:42 -0400 In-reply-to: <3c939f8c-8f78-12b8-3e07-242aa6dd12be@ralfj.de> (message from Ralf Jung on Tue, 14 Mar 2017 16:57:33 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:130581 Archived-At: > Cc: 21028@debbugs.gnu.org > From: Ralf Jung > Date: Tue, 14 Mar 2017 16:57:33 +0100 > > Okay, so what I do as actually quite simple: I open the aforementioned > file in emacs, and then I use the scroll wheel on my mouse to scroll > around quickly (move wheel up fast - move wheel down fast - repeat). > When I do this with the "good" setup, text keeps flying over my screen > and everything reacts instantaneously. When I do this with the "bad" > setup, nothing moves until I stop turning the scroll wheel and wait a > little more, where the waiting time is roughly half the time I spent > scrolling quickly. In the "bad" setup, if you press C-n just once, how much time does it take for Emacs to react? One second, 10 sec, more? Same question regarding C-v. > >> Emacs is fine in terms of speed, but it uses the wrong font for > >> characters not supported by Fira Sans Mono. > >> For example, for ∃ it picks "STIX" > > > > The default fontset was improved in Emacs 25.1, so there you should > > have Symbola for this character automatically. > > But I don't want Symbola for this character. Symbola is not monospace, > so it's not going to look right in a document that otherwise uses > monospace characters. I see. Well, I don't think there are many fonts out there with good coverage of symbols, punctuation, and other special characters, that are monospaced. Certainly not free fonts. So if you want these symbols to be displayed monospaced as much as possible, you have 2 alternatives: 1) find a monospaced font with good coverage of both Latin and symbol/punctuation blocks and use it as the default font; Emacs will try to use the default font for any symbol/punctuation characters that font supports, before trying other fonts 2) set up a very detailed fontset with explicit ranges of codepoints allotted to each font that supports the respective characters well and whose looks on display you like Note that the above is probably relevant to Emacs 25.1 and later (the first item definitely), so I suggest to upgrade, because this stuff should work much better in Emacs 25, and some of your problems might just go away without any need for customization.