From: Werner LEMBERG <wl@gnu.org>
To: eliz@gnu.org
Cc: 31316@debbugs.gnu.org
Subject: bug#31316: Emacs hangs in `font_open_entity'
Date: Mon, 30 Apr 2018 19:22:18 +0200 (CEST) [thread overview]
Message-ID: <20180430.192218.1552282367861674790.wl@gnu.org> (raw)
In-Reply-To: <838t94sot3.fsf@gnu.org>
>> If I call `emacs -Q' and load the attached file `testchar' with
>>
>> C-x RET c gb18030 C-x C-f testchar
>>
>> Emacs hangs in `font_open_entity' on my GNU/Linux box:
>
> Does the patch below solve this without introducing any new
> problems?
Sort of, thanks. After waiting a few seconds, Emacs now displays
three characters, but navigation is hard: it takes a few seconds to
move from character to character (I guess Emacs tries to reload the
missing glyph again and again).
>> Both `average_width' and `height' are always zero for `font'
>> regardless of `psize'; this effectively makes the above code an
>> endless loop.
>
> What kind of strange font has both of these always zero?
If you tell me how to find out the name of the font Emacs tries to
use, I can try to answer this question.
Werner
next prev parent reply other threads:[~2018-04-30 17:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-30 8:13 bug#31316: Emacs hangs in `font_open_entity' Werner LEMBERG
2018-04-30 8:16 ` Werner LEMBERG
2018-04-30 15:21 ` Eli Zaretskii
2018-04-30 17:22 ` Werner LEMBERG [this message]
2018-04-30 19:44 ` Eli Zaretskii
2018-04-30 20:20 ` Werner LEMBERG
2018-05-01 15:06 ` Eli Zaretskii
2018-05-05 8:55 ` Eli Zaretskii
2018-05-08 20:20 ` Werner LEMBERG
2018-05-08 20:49 ` Werner LEMBERG
2019-11-17 8:23 ` Lars Ingebrigtsen
2019-11-17 15:55 ` Eli Zaretskii
2019-11-17 16:05 ` 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
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=20180430.192218.1552282367861674790.wl@gnu.org \
--to=wl@gnu.org \
--cc=31316@debbugs.gnu.org \
--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 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).