all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Imposible to set :weight Light for a font
Date: Tue, 05 Jul 2022 18:53:22 +0300	[thread overview]
Message-ID: <831quz8sjx.fsf@gnu.org> (raw)
In-Reply-To: <992e9cd2-3aba-4868-8b59-872187a4fbe2@gmail.com> (message from ypuntot on Tue, 5 Jul 2022 15:40:10 +0000 (UTC))

> Date: Tue, 5 Jul 2022 15:40:10 +0000 (UTC)
> From: ypuntot <ypuntot@gmail.com>
> 
> I can't set ":weight Light" for a font.
> 
> 
> If I set it using the "Menu, Options, Set Default font, Cascadia Mono - style Light"; the text in the buffer changes correctly;
> 
> https://i.postimg.cc/htZ4rL2w/1.jpg
> 
> but in the init.el the :family changes into "Cascadia Mono Light".
> 
> https://i.postimg.cc/VL3Dbp8H/2.jpg
> 
> When restarting, it seems that family "Cascadia Mono Light" doesn't exist, so the default font family changes by itself into "Frank Ruhl Hofshi".
> 
> In the customization buffer family is "Frank Ruhl Hofshi",
> 
> https://i.postimg.cc/y8Kg3yDz/3.jpg
> 
> but in the init.el family is "Cascadia Mono Light".
> 
> https://i.postimg.cc/XqFqpr3J/4.jpg

On what OS is this?  If it's MS-Windows, then the 'light' weight is
not really supported, because the Windows API that enumerate fonts of
a given family don't consider 'light' to belong to the family.  They
only recognize 'regular', 'bold', 'italic', and 'bold-italic' as
members of the same font family.



  reply	other threads:[~2022-07-05 15:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-05 15:40 Imposible to set :weight Light for a font ypuntot
2022-07-05 15:53 ` Eli Zaretskii [this message]
     [not found] <2628b9a7-41f5-6572-c5f6-7008610c5e8c@gmail.com>
2022-07-12  2:29 ` Eli Zaretskii
     [not found] <604bdad0-2633-27c5-05f7-984be2697dbd@serviplast.net>
2022-07-11  2:34 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2022-07-03 22:32 Ypo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831quz8sjx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.