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

From: Eli Zaretskii <[email-masked]>
Date: Mon, 20 Jun 2022 18:57:13 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked],
>   [email-masked],  Stefan Monnier <[email-masked]>
> Date: Mon, 20 Jun 2022 17:43:06 +0200
> 
> Eli Zaretskii <[email-masked]> 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.