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

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

bug#24597: 25.1; Fonts used by default in Info


From: Eli Zaretskii
Subject: bug#24597: 25.1; Fonts used by default in Info
Date: Mon, 03 Oct 2016 21:26:04 +0300

> Date: Mon, 3 Oct 2016 10:53:34 -0700 (PDT)
> From: Drew Adams <address@hidden>
> Cc: address@hidden
> 
> > I believe we don't specify Courier, it's just what Emacs picks up on a
> > typical Windows machine when we ask for a "Monospace Serif" font.  See
> > the definition of the Info-quoted face in info.el.
> 
> Hm. What I see is that we specify the "courier" family, not that we ask
> for a "Monospace Serif" font:
> 
> (defface Info-quoted '((t :family "courier"))
>   "Face used for quoted elements.")

That's strange: it's "courier" in 25.1, but the release branch says
fixed-pitch-serif, and the change was in May, so should have been in
the released Emacs 25.1.

Nicolas, can you shed some light on this?

> I know nothing about such things, but it seems odd that MS Windows
> creates font Courier New, and seems to use it by default quite a bit,
> and yet we tell it to use family "courier", and it ends up using
> font Courier (if available), not Courier New.

It chooses the first font that satisfies the request.

> [I'd suggest using two fonts that are more different, by default.
> For one thing, that would make clear to users that a face is involved.

That's what we do, except that this somehow didn't get into Emacs
25.1.





reply via email to

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