From: Yuan Fu <casouri@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Font weight: light as regular, regular as bold
Date: Mon, 20 Jun 2022 00:13:42 -0700 [thread overview]
Message-ID: <F137E7CC-B4A7-4372-8358-DC5CBE0B186E@gmail.com> (raw)
In-Reply-To: <A57AB998-DA58-4651-B75B-14429EFE143F@gmail.com>
> On Jun 19, 2022, at 10:54 PM, Yuan Fu <casouri@gmail.com> wrote:
>
> Hi,
>
> I have a font that I want to use its light weight as regular, and regular as bold in Emacs. Basically I want that when I set
>
> (set-face-attribute ‘face :weight ‘regular)
>
> Emacs actually uses the light weight of that font. Is that possible?
>
> Thanks,
> Yuan
In the same spirit, is it possible to use a font A’s italic as font B’s italic? Eg, when I use
(set-face-attribute ‘face :family “B” :style ‘italic)
Could Emacs actually use A’s italic?
Yuan
prev parent reply other threads:[~2022-06-20 7:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-20 5:54 Font weight: light as regular, regular as bold Yuan Fu
2022-06-20 7:13 ` Yuan Fu [this message]
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=F137E7CC-B4A7-4372-8358-DC5CBE0B186E@gmail.com \
--to=casouri@gmail.com \
--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.