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 #239 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: Wed, 30 Nov 2022 15:38:37 +0000
[Message part 1 (text/plain, inline)]
>> Are there further comments or questions about this patch?
>
> Yes.  I stopped responding because I didn't want to get in the way of 
> your finishing the merge of the locked-narrowing branch, but the 
> discussion about this one is far from over.  I will respond when I have 
> more time.
>

Okay.

To clarify the matter, I think the following is useful, to explain what 
"family = Sans Serif" means.

I attach a screenshot of the font preference box in Firefox.  In that 
screenshot you see the three most general font families: Serif, Sans Serif 
and Monospace.  The Serif and Sans Serif families are meant for variable 
pitch fonts.  Emacs uses these same "Sans Serif" and "Monospace" families.

Websites specify the font the browser should use in a specification, which 
should always include a font family, as follows:

font-family: 'Arial', 'Helvetica', sans-serif;

As you probably understand, this means "please use the Arial font for that 
element, or if it is not available the Helvetica font, or if neither are 
available fall back to the default sans-serif font".  Likewise:

font-family: sans-serif;

means "I don't care about the font, please use the default Sans Serif 
font".
[firefox.png (image/png, attachment)]

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

Previous Next


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