Hello,

I am trying to use [Cascadia Code] for the `default' and `fixed-pitch' faces
in Emacs. However, I feel the regular weight too dense for me, so I
want to use the light version.

I have the following code in my `init.el' file:

,----
| (set-face-attribute 'default nil
|               :font "Cascadia Code"
|               :weight 'light
|               :height 160)
| (set-face-attribute 'fixed-pitch nil
|               :font "Cascadia Code"
|               :weight 'light
|               :height 1.0)
`----

However, evaluating these expressions does not make any
change. Executing `describe-face' on `default' and `fixed-pitch' shows that
the weight is still regular.

I have doubted that this issue is exclusive on Windows, so I installed
the same font files and evaluated the same code on a Linux virtual
machine. This time, Emacs correctly sets the weight to light.

So, is this a bug on Emacs? Is this a problem of Windows? Any chance
this behavior can be fixed?

Thanks for any help.

Regards,

--
*Chang Xiaoduan*


[Cascadia Code] <https://github.com/microsoft/cascadia-code.git>

Reply via email to