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

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

bug#51704: 29.0.50; set-fontset-font do not work well with :weight 'norm


From: tumashu
Subject: bug#51704: 29.0.50; set-fontset-font do not work well with :weight 'normal of font-spec
Date: Tue, 9 Nov 2021 15:45:42 +0800 (CST)
















At 2021-11-09 15:33:04, "Lars Ingebrigtsen" <larsi@gnus.org> wrote:
>tumashu  <tumashu@163.com> writes:
>
>> medium work.
>>
>> Does old emacs support 'medium?
>
>Yes, in older Emacsen, `medium' is an alias for `normal'.  This was
>split up since the font spec allows two different font weights here (and
>`medium' is heavier than `normal'), and Emacs didn't have a way to
>choose the actual `normal' font.
>
>The problem is that if you have a font that doesn't have the now-lighter
>`normal' font, Emacs won't find the right spec.  I'm not sure whether
>there's any way to make a fallback of some kind here work...  I'm
>amending the text in etc/NEWS and moving it to the "incompatible"
>section, though.

I see,  I will switch to use 'medium in my code.

>
>-- 
>(domestic pets only, the antidote for overdose, milk.)
>   bloggy blog: http://lars.ingebrigtsen.no
>
>

reply via email to

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