GNU bug report logs - #32159
26.1; inhibit-compacting-font-caches does not fix all fonts lagging issue

Previous Next

Package: emacs;

Reported by: Moses <moses.mason <at> gmail.com>

Date: Sun, 15 Jul 2018 00:23:01 UTC

Severity: minor

Found in version 26.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Moses <moses.mason <at> gmail.com>
Cc: 32159 <at> debbugs.gnu.org, drew.adams <at> oracle.com
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
> From: Moses <moses.mason <at> gmail.com>
> Date: Tue, 17 Jul 2018 10:13:05 +0800
> Cc: drew.adams <at> oracle.com, 32159 <at> 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?




This bug report was last modified 6 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.