GNU bug report logs - #40097
28.0.50; Preferred font ignored for specific charset

Previous Next

Package: emacs;

Reported by: Sergey Organov <sorganov <at> gmail.com>

Date: Tue, 17 Mar 2020 04:32:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 27.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Kenichi Handa <handa <at> gnu.org>, Sergey Organov <sorganov <at> gmail.com>, 40097 <at> debbugs.gnu.org
Subject: bug#40097: 28.0.50; Preferred font ignored for specific charset
Date: Wed, 18 Mar 2020 12:07:54 +0100
>>>>> On Tue, 17 Mar 2020 18:35:05 +0200, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: Sergey Organov <sorganov <at> gmail.com>
    >> Cc: 40097 <at> debbugs.gnu.org
    >> Date: Tue, 17 Mar 2020 19:12:33 +0300
    >> 
    >> > Can you show all the fonts on your system that have microsoft-cp1251
    >> > as their registry/encoding?  AFAIK, this is done with xlsfonts.
    >> 
    >> Sure:

    Eli> So there's a single font, Terminus, which supports that charset.  I
    Eli> think you can work around this problem locally by adding that font to
    Eli> face-ignored-fonts.

    Eli> We could perhaps introduce a customizable variable that would allow
    Eli> users who want that to disable the preference of charset-supporting
    Eli> fonts when the text has the 'charset' property.  CC'ing Handa-san who
    Eli> could comment on how important is this feature nowadays.

Ah, now I see where this is coming from: I was looking down in font.c,
but this is a fontset.c feature.

Iʼm not sure how useful it is, I donʼt think fontconfig has any notion
of 'charset' beyond 'does this font support this Unicode character'.

Robert




This bug report was last modified 5 years and 69 days ago.

Previous Next


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