GNU bug report logs - #26333
26.0.50; Hang when displaying some special characters for the first time

Previous Next

Package: emacs;

Reported by: Steven Allen <steven <at> stebalien.com>

Date: Sat, 1 Apr 2017 19:22:02 UTC

Severity: normal

Tags: moreinfo

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Steven Allen <steven <at> stebalien.com>
To: Eli Zaretskii <eliz <at> 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
Eli Zaretskii <eliz <at> 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 <at> 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 <at> 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 <at> 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).




This bug report was last modified 3 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.