GNU bug report logs -
#26333
26.0.50; Hang when displaying some special characters for the first time
Previous Next
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
Message #17 received at 26333 <at> debbugs.gnu.org (full text, mbox):
> From: Steven Allen <steven <at> stebalien.com>
> Cc: 26333 <at> debbugs.gnu.org
> Date: Sat, 01 Apr 2017 15:00:58 -0700
>
>
> So, I could have sworn I tested this with emacs -Q when I first found
> the bug (I've been sitting on it for a while) but I guess I didn't. I
> apologize.
>
> It only reproduces for certain fonts.
>
> Known Bad: Source Code Pro, Office Code Pro, Fira Mono
> Known Good: Symbola, DejaVu Sans Mono (the default on my system)
>
> So, to reproduce, evaluate the following before pasting the special
> character.
>
> (set-face-attribute 'default nil :font "Source Code Pro-10")
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?
> Eli Zaretskii <eliz <at> gnu.org> writes:
> > That's normal:
>
> Hardly. 15 seconds is a *long* time for a computer and every other
> application displays the character in question instantly. Not even
> regenerating my entire font cache (fc-cache) takes that long.
I meant "normal" as in "Emacs is known to do that sometimes when
searching for a font". 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.
As for comparison with fc-cache, Emacs many times examines each font
several times with different options, so it could be slower.
> > If you install the Symbola font, I think the search will
> > be much faster.
>
> I do have Symbola installed and the character does display correctly
> eventually.
Is it eventually displayed using Symbola or some other font?
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.