help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font weight: light as regular, regular as bold


From: Yuan Fu
Subject: Re: Font weight: light as regular, regular as bold
Date: Mon, 20 Jun 2022 00:13:42 -0700


> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]