[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font weight selection problem
From: |
Eli Zaretskii |
Subject: |
Re: Font weight selection problem |
Date: |
Tue, 23 Jan 2024 19:28:14 +0200 |
> From: "Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr>
> Date: Sun, 21 Jan 2024 18:41:42 +0100
>
> I'm using Emacs 29.2 on OSX and I'm having difficulty selecting a
> font with the proper weight. The following simple script shows the
> problem on my machine:
>
> (set-frame-font "Roboto Mono-14:light")
> (insert "test")
> (insert (propertize "test" 'face '(:family "Roboto Mono" :weight
> light)))
>
> The set-frame-font installs the proper font and weight.
> The first insert displays the text with light weight (as expected)
> The second insert displays the text with a *regular* weight
> (unexpected).
Did you try to change the order between :family and :weight in your
'propertize' call?
> I think the problem has been here since at least version 28.0
I'm not sure it was ever supported. Can you make that do what you
expect in older versions of Emacs?
- Font weight selection problem, Nicolas P. Rougier (inria), 2024/01/21
- Re: Font weight selection problem,
Eli Zaretskii <=
- Re: Font weight selection problem, Nicolas P. Rougier (inria), 2024/01/23
- Re: Font weight selection problem, Nicolas P. Rougier (inria), 2024/01/23
- Re: Font weight selection problem, Roman Rudakov, 2024/01/24
- Re: Font weight selection problem, Nicolas P. Rougier (inria), 2024/01/24
- Re: Font weight selection problem, Eli Zaretskii, 2024/01/27
- Re: Font weight selection problem, Po Lu, 2024/01/27
- Re: Font weight selection problem, Eli Zaretskii, 2024/01/27
- Re: Font weight selection problem, Po Lu, 2024/01/27