all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Font weight: light as regular, regular as bold
@ 2022-06-20  5:54 Yuan Fu
  2022-06-20  7:13 ` Yuan Fu
  0 siblings, 1 reply; 2+ messages in thread
From: Yuan Fu @ 2022-06-20  5:54 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Font weight: light as regular, regular as bold
  2022-06-20  5:54 Font weight: light as regular, regular as bold Yuan Fu
@ 2022-06-20  7:13 ` Yuan Fu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuan Fu @ 2022-06-20  7:13 UTC (permalink / raw)
  To: help-gnu-emacs



> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-20  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-20  5:54 Font weight: light as regular, regular as bold Yuan Fu
2022-06-20  7:13 ` Yuan Fu

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.