unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: 32159@debbugs.gnu.org
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	[thread overview]
Message-ID: <vz1efg22m9k.fsf@gmail.com> (raw)
In-Reply-To: <CAAYZpmQmB3q+fX=x2LQ3nR6vKsyNETHAYHobRYkPATge4Kbe2g@mail.gmail.com>

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






  parent reply	other threads:[~2018-07-17 10:24 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-15  0:02 bug#32159: 26.1; inhibit-compacting-font-caches does not fix all fonts lagging issue Moses
2018-07-15  2:39 ` Eli Zaretskii
2018-07-15  5:50   ` Moses
2018-07-15 14:41     ` Eli Zaretskii
2018-07-16  2:35       ` Moses
2018-07-16  3:34         ` Eli Zaretskii
2018-07-17  1:38           ` Moses
2018-07-17  2:38             ` Eli Zaretskii
     [not found]     ` <<83in5ga7dc.fsf@gnu.org>
2018-07-15 16:50       ` Drew Adams
2018-07-15 18:53         ` Eli Zaretskii
2018-07-16  3:43           ` net june
2018-07-16 14:24             ` Eli Zaretskii
     [not found]     ` <<<83in5ga7dc.fsf@gnu.org>
     [not found]       ` <<0c4b0a47-267d-4c4d-8d1f-6a562ac7519b@default>
     [not found]         ` <<837elw9vp9.fsf@gnu.org>
2018-07-15 19:43           ` Drew Adams
2018-07-16 14:22             ` Eli Zaretskii
2018-07-17  2:13               ` Moses
2018-07-17  2:40                 ` Eli Zaretskii
2018-07-17  4:22                   ` Moses
2018-07-17 15:05                     ` Eli Zaretskii
2018-07-19 13:41                       ` Eli Zaretskii
2018-07-19 15:56                         ` Drew Adams
2018-07-22  5:45                       ` Moses
2018-07-22 14:06                         ` Eli Zaretskii
2018-07-22 14:52                           ` Moses
2018-07-22 15:14                             ` Eli Zaretskii
2018-07-22 15:41                               ` Moses
2018-07-22 16:02                                 ` Eli Zaretskii
2018-07-17 10:24 ` Andy Moreton [this message]
2018-07-17 15:52   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vz1efg22m9k.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=32159@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).