[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] Add fontaine package?
From: |
Protesilaos Stavrou |
Subject: |
Re: [ELPA] Add fontaine package? |
Date: |
Fri, 29 Apr 2022 10:56:49 +0300 |
User-agent: |
Notmuch/0.35 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> From: Eli Zaretskii <eliz@gnu.org>
> Date: Fri, 29 Apr 2022 10:40:38 +0300
>
>> From: Protesilaos Stavrou <info@protesilaos.com>
>> Cc: emacs-devel@gnu.org
>> Date: Fri, 29 Apr 2022 10:23:52 +0300
>>
>> It is possible to have a typeface that has a light weight and another
>> that hasn't. If the user defines two presets in fontaine-presets and
>> tries to switch from the one with the light weight to the other without
>> it, they will encounter the aforementioned behaviour of
>> set-face-attribute.
>
> Did you try using set-face-font instead? Its FONT argument can be a
> font-spec, so you should be able to say things like
>
> (set-face-font 'default (font-spec :family "Hack" :weight 'light))
>
> and get what you want, I think.
Very well! I will try this approach and change things accordingly.
--
Protesilaos Stavrou
https://protesilaos.com
- Re: [ELPA] Add fontaine package?, (continued)
- Re: [ELPA] Add fontaine package?, Richard Stallman, 2022/04/27
- Re: [ELPA] Add fontaine package?, Eli Zaretskii, 2022/04/28
- Re: [ELPA] Add fontaine package?, Protesilaos Stavrou, 2022/04/28
- Re: [ELPA] Add fontaine package?, Eli Zaretskii, 2022/04/28
- Re: [ELPA] Add fontaine package?, Protesilaos Stavrou, 2022/04/29
- Re: [ELPA] Add fontaine package?, Eli Zaretskii, 2022/04/29
- Re: [ELPA] Add fontaine package?, Protesilaos Stavrou, 2022/04/29
- Re: [ELPA] Add fontaine package?, Eli Zaretskii, 2022/04/29
- Re: [ELPA] Add fontaine package?,
Protesilaos Stavrou <=