GNU bug report logs - #35816
26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont

Previous Next

Package: emacs;

Reported by: Vladimir Nikishkin <lockywolf <at> gmail.com>

Date: Tue, 21 May 2019 02:07:01 UTC

Severity: normal

Found in version 26.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 35816 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Vladimir Nikishkin <lockywolf <at> gmail.com>, 35816 <at> debbugs.gnu.org
Subject: Re: bug#35816: 26.2; set-frame-font cannot set some fonts which
 autocomplete suggests due to dashes in names. I.e. gnu-unifont
Date: Wed, 11 Aug 2021 22:04:37 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Thanks!  After an "apt install fonts-mikachan" I can now reproduce the
> problem on this Debian/bullseye system, too, and I'll try to see whether
> I can come up with a solution.

And I've now made font_parse_xlfd try harder to make sense of font names
like:

(set-frame-font "-Take-mikachan-puchi-normal-normal-normal-*-*-*-*-*-*-0-iso10646-1")

I've tried to be as backwards-compatible as possible -- only trying to
interpret this as a family name of "mikachan-puchi" is parsing it the
normal way fails.

So this should be fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 340 days ago.

Previous Next


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