GNU bug report logs - #23291
25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs

Previous Next

Package: emacs;

Reported by: "Philippe Crama" <phcrama.work <at> gmx.com>

Date: Thu, 14 Apr 2016 19:34:02 UTC

Severity: minor

Tags: moreinfo

Found in version 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 23291 <at> debbugs.gnu.org (full text, mbox):

From: Philippe Crama <phcrama.work <at> gmx.com>
To: 23291 <at> debbugs.gnu.org
Subject: Workaround for "25.0.92;
 Inserting unicode in buffer requiring a different font slows down
 Emacs"
Date: Fri, 15 Apr 2016 15:17:16 +0200
Eli Zaretskii wrote:
> > 4. Continue typing: the buffer update is slower than before

> I cannot reproduce this on my system.

> > 3. In all versions I tested for this report, C-u x = reports the same
> > information for CIRCLED DIGIT EIGHT (I've replaced the troublesome
> > unicode character by `(8)'):
> > character: (8) (displayed as (8)) (codepoint 9319, #o22147, #x2467)
> > ...
> > display: by this font (glyph code)
> > uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-gb2312.1980-0 (#xF62)

> Try installing Symbola, that's what Emacs uses on my system for that
> character.

1. downloaded Symbola from http://users.teilar.gr/~g1951d/
2. added this code to my .emacs.d/init.el file:
(let ((unicode-fallback "Symbola"))
  (when (x-list-fonts unicode-fallback)
    (set-fontset-font "fontset-default"
                      'unicode
                      (font-spec :name unicode-fallback))))

And my problem was solved.  Now the font used for CIRCLED DIGIT EIGHT
is -outline-Symbola-normal-normal-normal-serif-13-*-*-*-p-*-iso8859-1

Thanks, Eli!




This bug report was last modified 9 years and 39 days ago.

Previous Next


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