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

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

bug#37473: 27.0.50; antialias setting is not preserved by, inheriting


From: Eli Zaretskii
Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting
Date: Mon, 20 Jun 2022 18:57:13 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: luangruo@yahoo.com,  handa@gnu.org,  37473@debbugs.gnu.org,
>   da_vid@orange.fr,  Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 20 Jun 2022 17:43:06 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > And likely in other use cases: if the :font attribute of a face
> > specifies some font properties, we want to keep them all, not
> > arbitrarily to ignore some of them.
> 
> Yup.
> 
> > Specifically, I propose the change for the master branch.  Any
> > objections?
> 
> Not from me, but perhaps Handa-san has some comments.

Sure, there's no rush.

My main problem with that change is that I don't understand why would
it make sense to "forget" all the attributes of a font when realizing
a face whose :font attribute is non-nil.  It's like ignoring the
foreground color when a face specifies it.

If there are special situations where some font attributes should be
"forgotten", we should perhaps have separate functions for them, which
we should call only in those special situations.





reply via email to

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