bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32159: 26.1; inhibit-compacting-font-caches does not fix all fonts l


From: Andy Moreton
Subject: bug#32159: 26.1; inhibit-compacting-font-caches does not fix all fonts lagging issue
Date: Tue, 17 Jul 2018 11:24:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (windows-nt)

On Tue 17 Jul 2018, Moses wrote:

> On Tue, Jul 17, 2018 at 10:40 AM Eli Zaretskii <eliz@gnu.org> wrote:
>> > How to get the correct second argument (script name?)
>> It is shown by "C-u C-x =".
>
> OK. I see it now. The info is somewhat not obvious to me.
>
>> > and also the "iso10646-1" (encoding name?)?
>> Always use iso10646-1, it makes no sense to use anything else with
>> these scripts.

As a followup to the list Eli suggested, this works for me on Windows
10:

  (set-frame-font "DejaVu Sans Mono-9" nil t)
  (dolist (fontspec-targets
           '(;; Latin Extended Additional block (not supported by DejaVu Sans 
Mono)
             (("Liberation Mono"    . "iso10646-1") (#x1e00 . #x1eff))
             ;; Other scripts
             (("DejaVu Math Tex Gyre" . "iso10646-1") mathematical)
             (("Segoe UI Symbol"    . "iso10646-1") braille symbol)
             (("Myanmar Text"       . "iso10646-1") burmese)
             (("Ebrima"             . "iso10646-1") ethiopic)
             (("Microsoft Himalaya" . "iso10646-1") tibetan)
             (("Leelawadee UI"      . "iso10646-1") khmer thai)
             (("Gadugi"             . "iso10646-1") canadian-aboriginal 
cherokee)
             (("Nirmala UI"         . "iso10646-1") bengali devanagari gujarati
              kannada malayalam oriya sinhala tamil telugu)))
    (dolist (target (cdr fontspec-targets))
      (set-fontset-font "fontset-default" target (car fontspec-targets))))

That reduces the delay in showing the HELLO file from approx 20secs to
approx 3secs on my box.

    AndyM






reply via email to

[Prev in Thread] Current Thread [Next in Thread]