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#32159: 26.1; inhibit-compacting-font-caches does not fix all fonts lagging issue Date: Tue, 17 Jul 2018 05:40:47 +0300 Message-ID: <83y3ea7ff4.fsf@gnu.org> References: <83muut9q8m.fsf@gnu.org> <45c210aa-5a57-45f7-9bd4-752876b233c2@default> <8336wj9s5d.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1531795149 9936 195.159.176.226 (17 Jul 2018 02:39:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2018 02:39:09 +0000 (UTC) Cc: 32159@debbugs.gnu.org To: Moses Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 17 04:39:05 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 1ffFtI-0002SY-5k for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Jul 2018 04:39:04 +0200 Original-Received: from localhost ([::1]:56800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffFvN-00076b-8W for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 22:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffFvG-00076J-Ow for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffFvC-00051v-8S for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:41:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffFvC-00051h-3E for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ffFvB-0005r3-TG for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 22:41: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, 17 Jul 2018 02:41: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.153179524622473 (code B ref 32159); Tue, 17 Jul 2018 02:41:01 +0000 Original-Received: (at 32159) by debbugs.gnu.org; 17 Jul 2018 02:40:46 +0000 Original-Received: from localhost ([127.0.0.1]:44308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffFuv-0005qO-OO for submit@debbugs.gnu.org; Mon, 16 Jul 2018 22:40:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffFut-0005qB-UX for 32159@debbugs.gnu.org; Mon, 16 Jul 2018 22:40:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffFun-0004si-TZ for 32159@debbugs.gnu.org; Mon, 16 Jul 2018 22:40:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffFun-0004sb-PS; Mon, 16 Jul 2018 22:40:37 -0400 Original-Received: from [176.228.60.248] (port=1195 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ffFun-0005ek-7H; Mon, 16 Jul 2018 22:40:37 -0400 In-reply-to: (message from Moses on Tue, 17 Jul 2018 10:13:05 +0800) 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:148598 Archived-At: > From: Moses > Date: Tue, 17 Jul 2018 10:13:05 +0800 > Cc: drew.adams@oracle.com, 32159@debbugs.gnu.org > > > (set-fontset-font "fontset-default" 'gujarati '("Shruti" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'devanagari '("Mangal" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'kannada '("Tunga" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'malayalam '("Kartika" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'oriya '("Kalinga" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'sinhala '("Iskoola Pota" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'tamil '("Latha" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'telugu '("Gautami" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'tibetan '("Microsoft Himalaya" . "iso10646-1")) > > (set-fontset-font "fontset-default" 'burmese nil) > > > > The fonts mentioned above are those available OOTB on a Windows > > machine I have here; yours may be different. I collected them using > > "C-u C-x =" for characters whose presence makes display of HELLO > > significantly slower. If you don't have a font available for some > > script and/or don't want that script's characters displayed, you can > > replace the last argument of 'set-fontset-font' with nil, like I did > > for 'burmese'. (You can also use ranges of codepoints instead of > > script symbols; see the doc string of 'set-fontset-font'.) > > > > The script of a character is also shown by "C-u C-x =". > > How to get the correct second argument (script name?) It is shown by "C-u C-x =". > and also the "iso10646-1" (encoding name?)? Always use iso10646-1, it makes no sense to use anything else with these scripts. > I do not find it in C-u C-x = and the manual is not very clear about > that. Anyway, why Emacs can not generate a "suggestion" of > set-fontset-font in the first place and tell user to add it into > .emacs? It does, in a way: look at the output of "C-u C-x =". Besides, how is Emacs to know that what happens on your system now is a permanent setup?