GNU bug report logs -
#40097
28.0.50; Preferred font ignored for specific charset
Previous Next
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
Eli Zaretskii <eliz <at> gnu.org> writes:
>> 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:
>
> So there's a single font, Terminus, which supports that charset. I
> think you can work around this problem locally by adding that font to
> face-ignored-fonts.
Yeah:
(setq face-ignored-fonts '(".*-cp1251$"))
does the trick for me indeed, thanks!
> We could perhaps introduce a customizable variable that would allow
> users who want that to disable the preference of charset-supporting
> fonts when the text has the 'charset' property. CC'ing Handa-san who
> could comment on how important is this feature nowadays.
When I wrote original question, I was sure I've read somewhere in the
docs that Emacs does prefer fonts with particular encoding, and then I
missed it and can't find it anymore. I wonder if it is even documented,
or did I read it somewhere else, maybe in some relevant discussion?
I mean if it's even undocumented and is not important nowadays, maybe
it's indeed better to drop it rather than bother with customizations.
And if it is to be customizable, it should probably be a fontset feature
rather than global?
Thanks,
-- Sergey
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.