Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.bug > #134808

bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1'

From Robert Pluim <rpluim@gmail.com>
Newsgroups gnu.emacs.bug
Subject bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1'
Date 2020-09-03 11:07 +0200
Message-ID <mailman.2164.1599124084.2469.bug-gnu-emacs@gnu.org> (permalink)
References <7bb2d5e3-1abf-08d6-d7c8-0f1bd139815e@Alexander.Shukaev.name> <m2y2lr2uaw.fsf@gmail.com> <caae0787-d1bb-b4bf-93ff-c9e7f7147964@Alexander.Shukaev.name> <f0398105-c575-bcd7-0daa-54c6e1b2dbe9@Alexander.Shukaev.name> <m2mu272ppt.fsf@gmail.com>

Show all headers | View raw


>>>>> On Thu, 3 Sep 2020 11:02:16 +0200, Alexander Shukaev <emacs@Alexander.Shukaev.name> said:

    Alexander> /usr/share/fonts/TTF/AdobeBlank-Regular.ttf is owned by
    Alexander> ttf-google-fonts-git 20171026-1

Looks like Pip's crystal ball was right, thatʼs the same font
impicated in Bug#40733

    Alexander> I will try updating it now and see if it fixes the issue.  However,
    Alexander> even if it does, I have a bunch of follow-up questions:

    Alexander> 1.  How to protect Emacs from having that issue again regardless of
    Alexander> broken/out-dated fonts?  Can I somehow, for example, exclude such
    Alexander> fonts from consideration by Emacs?

    face-ignored-fonts is a variable defined in `C source code'.
    Its value is nil

      Probably introduced at or before Emacs version 21.1.

    Documentation:
    List of ignored fonts.
    Each element is a regular expression that matches names of fonts to
    ignore.

    Alexander> 2.  Why was this font queried at all in the first place?  I don't use
    Alexander> this font.

You donʼt use it, but fontconfig know about it, so it queries it when
Emacs queries fontconfig for available fonts covering a certain
codepoint.

Robert


Back to gnu.emacs.bug | Previous | Next | Find similar


Thread

bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1' Robert Pluim <rpluim@gmail.com> - 2020-09-03 11:07 +0200

csiph-web