[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete
From: |
Lars Ingebrigtsen |
Subject: |
bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont |
Date: |
Thu, 12 Aug 2021 14:53:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> This bug was only about XLFD fonts, though.
>
> AFAIR, we eventually convert all the other forms into XLFD format.
Oh, we do? I didn't know that. Well, then there might be problems.
But... why? I thought everything got parsed into font-spec structures.
>> I didn't see anything about dashes in the set-face-font doc string?
>
> The format of the font string specification varies based on the font
> system in use, but it can commonly be an X Logical Font
> Description (XLFD) string, or a simpler string like "Courier-10"
> or "courier:size=10".
Right.
(font-spec :name "Courier-10")
=> #<font-spec nil nil Courier nil nil nil nil nil 10.0 nil nil nil ((:name .
"Courier-10"))>
(font-spec :name "Courier-Foo-10")
=> #<font-spec nil nil Courier-Foo nil nil nil nil nil 10.0 nil nil nil ((:name
. "Courier-Foo-10"))>
Both before and after the changes.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Lars Ingebrigtsen, 2021/08/11
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Andreas Schwab, 2021/08/11
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Lars Ingebrigtsen, 2021/08/11
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Lars Ingebrigtsen, 2021/08/11
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Eli Zaretskii, 2021/08/12
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Andreas Schwab, 2021/08/12
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Eli Zaretskii, 2021/08/12
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Lars Ingebrigtsen, 2021/08/12
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Lars Ingebrigtsen, 2021/08/12
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Eli Zaretskii, 2021/08/12
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont,
Lars Ingebrigtsen <=
- bug#35816: 26.2; set-frame-font cannot set some fonts which autocomplete suggests due to dashes in names. I.e. gnu-unifont, Eli Zaretskii, 2021/08/12