GNU bug report logs - #59347
29.0.50; `:family` face setting ignored

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 18 Nov 2022 04:58:01 UTC

Severity: normal

Found in version 29.0.50

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


Message #89 received at 59347 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: monnier <at> iro.umontreal.ca, 59347 <at> debbugs.gnu.org
Subject: Re: bug#59347: 29.0.50; `:family` face setting ignored
Date: Sun, 20 Nov 2022 16:59:00 +0000
>>> AFAIU, Stefan discovered that the problematic attribute was foundry, 
>>> and and your patch does nothing about foundry.
>>
>> I don't know how he reached that conclusion, but it's most likely not 
>> the cause of the problem.
>
> He described how he reached that conclusion in
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59347#65
>

Thanks.  What he describes there looks like a workaround more than a 
solution to me.  The actual problem is that

-misc-fixed-*-r-semicondensed-*-13-*-*-*-*-*-*-*

selects

-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

in which you see the 'medium' height.

>
> If we don't make font_score consistent with the change you made, we will 
> have other weird problems.  Maybe not in this particular case (although 
> I'm not sure even in this), but in others.
>

Thanks, I think I see what you mean now.  I overlooked the fact that 
font_select_entity is called with attrs and not with work, so indeed 
font_score called in font_sort_entities might reject (?) a legitimate 
font.  Is that what you mean?




This bug report was last modified 2 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.