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

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 09 Jul 2019 04:20:17 +0200

Vladimir Nikishkin <[email-masked]> writes:

> It is not possible to set some XLFD fonts by just using Emacs
> autocomplete.
> How to reproduce:
> 1)Install GNU-Unifont (a free font supporting almost all Unicode)
> 2)M-x set-frame-font RET
> 3)- M-i , and make Emacs suggest the Unifont size 16

Do you mean - TAB?

Anyway, I installed

xfonts-unifont/oldstable,now 1:9.0.06-2 all [installed,automatic]
  PCF (bitmap) version of GNU Unifont

and chose

-unknown-Unifont-normal-normal-normal-*-*-*-*-*-d-0-iso10646-1

and everything worked fine...

> 4)RET, and observe that Emacs canot set this font, because it thinks
> that 'xlfd' has 15 elements rather than 14 (a hyphen in the font name
> being interpreted as an xlfd separator)

Sounds like a bug in whoever put together the font package?  This is in
Slackware?

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