From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 43177@debbugs.gnu.org, schwab@linux-m68k.org,
emacs@Alexander.Shukaev.name
Subject: bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1'
Date: Fri, 04 Sep 2020 16:04:35 +0200 [thread overview]
Message-ID: <m24kodzlho.fsf@gmail.com> (raw)
In-Reply-To: <83imctu0se.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Sep 2020 16:30:41 +0300")
>>>>> On Fri, 04 Sep 2020 16:30:41 +0300, Eli Zaretskii <eliz@gnu.org> said:
>> From: Robert Pluim <rpluim@gmail.com>
>> Cc: schwab@linux-m68k.org, 43177@debbugs.gnu.org,
>> emacs@Alexander.Shukaev.name
>> Date: Fri, 04 Sep 2020 15:05:52 +0200
>>
>> + {
>> + list = Fcons (val, list);
>> + /* Querying further backends can be very slow, so we only do
>> + it if the user has explicitly requested it (Bug#43177). */
>> + if (query_all_font_backends == false)
>> + break;
>> + }
Eli> Shouldn't we query those other backends if the first one couldn't find
Eli> a font, even if the variable is nil? Otherwise, this change could
Eli> cause regressions in some (hopefully rare) cases, whereby some
Eli> characters will display as hex codes where previously they were shown
Eli> using some font.
Thatʼs what this does. The variable is only checked if (ASIZE(val) >
0), if we find zero fonts we go to the next backend.
I tested it before I sent the patch :-)
Hereʼs what I get for Cantonese in etc/HELLO:
display: by this font (glyph code)
ftcrhb:-GOOG-Noto Sans CJK KR-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1 (#x4F01)
And hereʼs what I get for Korean:
display: by this font (glyph code)
x:-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0
(#x3E4
Robert
next prev parent reply other threads:[~2020-09-04 14:04 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 7:18 bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1' Alexander Shukaev
2020-09-03 7:28 ` Robert Pluim
2020-09-03 7:42 ` Pip Cet
2020-09-03 8:50 ` Alexander Shukaev
2020-09-03 8:51 ` Alexander Shukaev
2020-09-03 9:02 ` Alexander Shukaev
2020-09-03 9:07 ` Robert Pluim
2020-09-03 9:40 ` Alexander Shukaev
2020-09-03 9:50 ` Alexander Shukaev
2020-09-03 9:53 ` Alexander Shukaev
2020-09-03 10:06 ` Robert Pluim
2020-09-03 10:24 ` Alexander Shukaev
2020-09-03 12:13 ` Robert Pluim
2020-09-03 12:28 ` Alexander Shukaev
2020-09-03 12:43 ` Robert Pluim
2020-09-03 12:52 ` Andreas Schwab
2020-09-03 13:19 ` Robert Pluim
2020-09-03 13:28 ` Andreas Schwab
2020-09-03 14:21 ` Robert Pluim
2020-09-03 14:48 ` Andreas Schwab
2020-09-03 15:10 ` Robert Pluim
2020-09-03 16:39 ` Alexander Shukaev
2020-09-03 19:47 ` Alexander Shukaev
2020-09-04 6:54 ` Eli Zaretskii
2020-09-03 17:37 ` Eli Zaretskii
2020-09-03 17:51 ` Andreas Schwab
2020-09-03 18:24 ` Eli Zaretskii
2020-09-04 7:45 ` Robert Pluim
2020-09-04 12:22 ` Eli Zaretskii
2020-09-04 13:05 ` Robert Pluim
2020-09-04 13:30 ` Eli Zaretskii
2020-09-04 14:04 ` Robert Pluim [this message]
2020-09-04 17:26 ` Eli Zaretskii
2020-09-07 14:18 ` Robert Pluim
2020-09-07 14:41 ` Pip Cet
2020-09-07 14:48 ` Robert Pluim
2020-09-07 14:49 ` Eli Zaretskii
2020-09-07 15:06 ` Robert Pluim
2020-09-15 15:40 ` Robert Pluim
2020-09-03 9:58 ` Robert Pluim
2020-09-03 13:19 ` Eli Zaretskii
2020-09-03 14:03 ` Robert Pluim
[not found] ` <handler.43177.B.159911754532334.ack@debbugs.gnu.org>
2020-09-03 7:30 ` bug#43177: Acknowledgement (Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1') Alexander Shukaev
2020-09-03 8:43 ` Alexander Shukaev
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=m24kodzlho.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=43177@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=emacs@Alexander.Shukaev.name \
--cc=schwab@linux-m68k.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.