From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ralf Jung Newsgroups: gmane.emacs.bugs Subject: bug#21028: Slow font rendering in emacs Date: Sat, 22 Apr 2017 10:54:56 +0200 Message-ID: References: <559F9FAF.8090708@live.com> <83innbc122.fsf@gnu.org> <4000d0c9-493c-3e14-f070-f35555e240dd@ralfj.de> <8360jbbrey.fsf@gnu.org> <83zigma6w6.fsf@gnu.org> 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 1492865652 22697 195.159.176.226 (22 Apr 2017 12:54:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2017 12:54:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: 21028@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 22 14:54:08 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 1d1uYB-0005nj-Oo for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 14:54:07 +0200 Original-Received: from localhost ([::1]:35546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1uYH-0002AE-HI for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 08:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1uYB-0002A3-Ce for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 08:54:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1uY6-0006ny-GY for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 08:54:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1uY6-0006nu-DL for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 08:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d1uY6-00014v-3q for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 08:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ralf Jung Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2017 12:54:02 +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.14928656234121 (code B ref 21028); Sat, 22 Apr 2017 12:54:02 +0000 Original-Received: (at 21028) by debbugs.gnu.org; 22 Apr 2017 12:53:43 +0000 Original-Received: from localhost ([127.0.0.1]:33263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1uXm-00014O-L3 for submit@debbugs.gnu.org; Sat, 22 Apr 2017 08:53:42 -0400 Original-Received: from eins.ralfj.de ([85.214.220.216]:52363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1uXl-00014B-GA for 21028@debbugs.gnu.org; Sat, 22 Apr 2017 08:53:41 -0400 Original-Received: from [192.168.10.97] (unknown [193.110.198.7]) by mx.ralfj.de (Postfix) with ESMTPSA id 5557C17D09D5; Sat, 22 Apr 2017 14:53:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ralfj.de; s=mail; t=1492865615; bh=9nQ+A+aGnFRONpm4QwwyyNfRuKj60IsIANzt8jr7ty0=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=n82G6luywmbwnwGBt9eM8kryl6NV0suk2NYtV5zew0hL0WvhZWTl3P0RuVr0o2lP1 Xy03K3NEoyB8ABv07XiOm4/H2OkXGNH8XLo7Pcb/rke+ROXB+sDgtPS1I2MfGoq9pq vLmTMxuwNirgfFXNMfgSAVqmXi6zobc0SX+Es2Xw= In-Reply-To: <83zigma6w6.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:131862 Archived-At: Hi, > Could be, I don't know. Once again, if the defaults, without any font > customizations, are somehow not good for you, please report the > details in a bug report. All right, I put that on my ToDo list. >> Of course this is just an excerpt of the characters we use. From all I >> can tell, the general rule is "if the character is supported by Fira, >> use that font; else of it is supported by DejaVu, use that font; else do >> " > > As you have seen, this does work as you want, but it's slow. We are > talking about getting you the same functionality, but faster. That > comes for a price of more accurate fontset setup. Well, we also have a patch fixing that slowness, so it doesn't seem to be an inherent problem, just some implementation artifact. >> I don't think the font is to blame here. After all, other applications >> manage to deal with exactly the same fonts just fine. >> Unfortunately, I don't know *how* everybody else is selecting fonts, I >> only know they do a better job at it than emacs, and they have no >> problem dealing with fonts that only partially support some blocks. >> Probably fontconfig is doing most of the work here, but I am really just >> guessing. > > Most other applications don't deal with multi-lingual text, so their > job is easier. Emacs attempts to solve a harder problem here. What exactly does this mean? I sure would expect all these editors to correctly display text that mixes Latin, Greek, Cyrillic and Japanese characters. I believe they can handle this, but have to admit I did not try that (mostly for lack of a personal use-case). Is there an example that can be used to test this? Kind regards, Ralf