all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Allen <steven@stebalien.com>
To: Eli Zaretskii <eliz@gnu.org>
Subject: bug#26333: 26.0.50; Hang when displaying some special characters for the first time
Date: Sun, 02 Apr 2017 10:14:00 -0700	[thread overview]
Message-ID: <87wpb2bulj.fsf@bistromath> (raw)
In-Reply-To: <83zifypy1y.fsf@gnu.org>


Eli Zaretskii <eliz@gnu.org> writes:
> Is this the only thing one has to do, in "emacs -Q", in order to
> reproduce the problem with these fonts?  Or do you have other
> font-related customizations on your init files?

That's the only thing I have to do. Evaluate that, paste the character
in question, and then wait.

Eli Zaretskii <eliz@gnu.org> writes:
> I meant "normal" as in "Emacs is known to do that sometimes when
> searching for a font".

Emacs is also known to sometimes crash. That doesn't make this behavior
"normal". I'd understand "expected behavior" but I'd disagree (15
seconds is a *really* long time to hang just to lookup a font).

Eli Zaretskii <eliz@gnu.org> writes:
> I'm not sure comparison with other applications is valid, as Emacs
> attempts to solve a more complex problem, and its font-searching
> algorithms are biased in favor of finding fonts which support scripts
> and languages, not symbols.

How are those any different? From a computer's perspective, they're all
just Unicode blocks.

Regardless, if this is the case, one could solve this problem by simply
stacking the algorithms: execute the normal (fast) search first and
fallback on Emacs' complex (slow) search.

However, I kind of doubt this is a fundamental limitation in the current
font search algorithm.

Eli Zaretskii <eliz@gnu.org> writes:
> Is it eventually displayed using Symbola or some other font?

Symbola. However, when the default font is DejaVu, it's displayed with
"DejaVu Math TeX Gyre" (a different font in a different file).





  reply	other threads:[~2017-04-02 17:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01 19:20 bug#26333: 26.0.50; Hang when displaying some special characters for the first time Steven Allen
2017-04-01 20:44 ` Eli Zaretskii
2017-04-01 22:00   ` Steven Allen
2017-04-01 22:48     ` Andreas Politz
2017-04-02 16:35     ` Eli Zaretskii
2017-04-02 17:14       ` Steven Allen [this message]
2017-04-02 17:43         ` Steven Allen
2022-01-23 16:17 ` Lars Ingebrigtsen
2022-01-23 16:44   ` Eli Zaretskii
2022-01-23 17:00     ` Eli Zaretskii
2022-02-20 19:32   ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=87wpb2bulj.fsf@bistromath \
    --to=steven@stebalien.com \
    --cc=eliz@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.