unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Georges Ko <gko@gko.net>
Cc: 24634@debbugs.gnu.org
Subject: bug#24634: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters
Date: Sat, 08 Oct 2016 09:21:14 +0300	[thread overview]
Message-ID: <83bmyvico5.fsf@gnu.org> (raw)
In-Reply-To: <bw5nh98nh7gl.fsf@gko.net> (message from Georges Ko on Sat, 08 Oct 2016 10:59:06 +0800)

> From: Georges Ko <gko@gko.net>
> Date: Sat, 08 Oct 2016 10:59:06 +0800
> 
> > So Symbola and Courier New don't cause slowdown, while MingLiu does?

What about this question?

> > Do you have some custom fontset setup, or does Emacs use MingLiu for
> > the WAVY LOW LINE by default, in "emacs -Q"?
> 
> Emacs uses MingLiu in "emacs -Q" on my system.
> 
> In "Initial setup" I just do "emacs -Q" and insert these characters and
> see the fonts used to display ASCII characters (1st line), WAVY LINE
> (2nd line) and WAVY LOW LINE (3rd character), which are:
> 
>   - ASCII         -O-Courier New-NNN-mono-13-*-*-*-c-*-iso8859-1
>   - WAVY LINE     -O-Symbola-NNN-serif-13-*-*-*-p-*-iso8859-1
>   - WAVY LOW LINE -O-MingLiU-NNN-mono-13-*-*-*-c-*-iso10646-1
> 
> and WAVY LINE     (Symbola) is OK (no slowdown) and
>     WAVY LOW LINE (MingLiu) is NOK (slowdown).
> 
> After switching to "MingLiu-10" with (set-frame-font "MingLiu-10),
> everything is smooth and using all use MingLiu-10 (2nd row of table):
> 
>   - ASCII, WAVY LINE -O-MingLiU-NNN-mono-13-*-*-*-c-*-iso8859-1
>   - WAVY LOW LINE    -O-MingLiU-NNN-mono-13-*-*-*-c-*-gb2312.1980-0

As I said elsewhere, patches to make the offending code opt-out under
control of a Lisp variable are welcome.  If you rebuild with the
compact_font_caches function (in alloc.c) disabled, i.e. make its body
empty, does the problem go away for you?





  reply	other threads:[~2016-10-08  6:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-07  4:59 bug#24634: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters Georges Ko
2016-10-07  7:16 ` Nikolay Kudryavtsev
2016-10-07  8:05 ` Eli Zaretskii
2016-10-07 17:01   ` Georges Ko
2016-10-07 19:03     ` Eli Zaretskii
2016-10-08  2:59       ` Georges Ko
2016-10-08  6:21         ` Eli Zaretskii [this message]
2016-10-08  8:20           ` Georges Ko
2016-10-08 14:11             ` Georges Ko
2016-10-08 14:43               ` Eli Zaretskii
2016-10-08 15:24                 ` Georges Ko
2016-10-08 19:34                   ` Eli Zaretskii
2016-10-10  9:54                     ` Georges Ko

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=83bmyvico5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24634@debbugs.gnu.org \
    --cc=gko@gko.net \
    /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).