[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44316: 26.3; Faces `fixed-pitch' and `fixed-pitch-serif' are opposit
From: |
Drew Adams |
Subject: |
bug#44316: 26.3; Faces `fixed-pitch' and `fixed-pitch-serif' are opposite what they should be |
Date: |
Thu, 29 Oct 2020 15:22:56 -0700 (PDT) |
> That's not what I see here, FWIW.
>
> - fixed-pitch uses "Bitstream Vera Sans Mono"
> - fixed-pitch-serif uses "Courier 10 Pitch"
>
> Could this be Windows specific?
Dunno. Where do you see which font it uses, like that?
M-x customize-face, for me, has all attributes unchecked
except for Font Family, and that's `Monospace' and
`Monospace Serif'. And `describe-face' likewise.
And the definitions in faces.el have only :family, with
the same "Monospace" and "Monospace Serif" values.
In faces.el, searching for "Monospace", I see that
option `face-font-family-alternatives' maps `purecopy'
over some lists of strings ("Monospace" "courier" "fixed")
("Monospace Serif" "Courier 10 Pitch" ...)...
;; In the absence of Fontconfig support, Monospace and Sans Serif are
;; unavailable, and we fall back on the courier and helv families,
;; which are generally available.
;; Monospace Serif is an Emacs invention, intended to work around
;; portability problems when using Courier. It should work well
;; when combined with Monospaced and with other standard fonts.
;; One of its uses is for 'tex-verbatim' and 'Info-quoted' faces,
;; so the result must be different from the default face's font,
;; and must be monospaced. For 'tex-verbatim', it is desirable
;; that the font really is a Serif font, so as to look like
;; TeX's 'verbatim'.
Not that I understand any of this. But clearly the one
with the serifs is `fixed-pitch' (on MS Windows 10, here).