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

From: Eli Zaretskii <[email-masked]>
Date: Tue, 17 Jul 2018 18:52:22 +0300

> From: Andy Moreton <[email-masked]>
> Date: Tue, 17 Jul 2018 11:24:07 +0100
> 
> 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.

Some of these fonts (DejaVu Math, at least) don't come with Windows
OOTB.  More importantly, most of the others are not free, which is why
we don't want to mention them in our default fontset.