> From: Chang Xiaoduan <dr...@sina.com> > Date: Wed, 11 Sep 2024 16:00:39 +0800 > > 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.
Windows doesn't consider the 'light weight to be a standard weight of a font family, it only supports regular, bold, italic, and bold-italic. So Emacs cannot support the above on Windows. Sorry.