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: Lars Ingebrigtsen
Subject: bug#51704: 29.0.50; set-fontset-font do not work well with :weight 'normal of font-spec
Date: Tue, 09 Nov 2021 08:33:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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.

-- 
(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]