From: Alex <agrambot@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: mvoteiza@udel.edu, emacs-devel@gnu.org,
Yuri Khan <yuri.v.khan@gmail.com>
Subject: Re: master d014a5e: Use fixed-pitch font for display-line-numbers
Date: Thu, 13 Jul 2017 14:15:17 -0600 [thread overview]
Message-ID: <87shi08562.fsf@lylat> (raw)
In-Reply-To: 83k23cgny7.fsf@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Yuri Khan <yuri.v.khan@gmail.com>
>> Date: Fri, 14 Jul 2017 01:07:21 +0700
>> Cc: Mark Oteiza <mvoteiza@udel.edu>, Emacs developers <emacs-devel@gnu.org>
>>
>> On Thu, Jul 13, 2017 at 10:57 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> >> Maybe, but the name ‘fixed-pitch-serif’ suggests a particular
>> >> presentation (a serif font), while ‘fixed-pitch’ does not.
>> >
>> > AFAIU, fixed-pitch just means Sans Serif, so it is also a particular
>> > presentation in that sense.
>>
>> The name ‘fixed-pitch’ literally means only the fixedness of pitch and
>> says nothing about presence or absence of serifs.
>
> The name alone might suggest that, but the code tells a different
> story. I thought you looked in the code and saw there something I
> missed, thus my questions.
Where does the code tell a different story? If you mean
`face-font-family-alternatives', then I believe it is faulty (see
below).
>> > And fixed-pitch definitely doesn't yield the
>> > same font as the default face on my system.
>>
>> I would suggest that is a bug.
>
> It's not a bug, since the code was written to produce that effect. (I
> think similar issue happens in the NS build.)
You're using Windows, correct? I just tried out Emacs 25.2 on a Windows
partition and I believe this a bug on Windows. I can't say anything
about the NS build.
In Emacs 25.2 on Windows 7, the default face is Courier New, a serif
font. GNU/Linux defaults to DejaVu Sans Mono, a sans-serif font. I don't
see why Windows should default to a serif font. FWIW, I checked a couple
of other popular text editors (Sublime and Atom), and they default to
Consolas (sans-serif) on Windows.
The bigger issue here is that fixed-pitch-serif on Windows defaults to a
sans-serif font (Consolas), and that fixed-pitch defaults to a serif
font (Courier -- not Courier New like the default font).
I believe the following should happen:
* the defaults for the default face and fixed-pitch should align on
all systems possible
* fixed-pitch should default to what fixed-pitch serif does now
(Consolas seems suitable)
* fixed-pitch-serif should default to what the default face does
currently
If this is done, then changing the line-number face to plain "Monospace"
should work fine even for Windows.
next prev parent reply other threads:[~2017-07-13 20:15 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170711151708.4322.33014@vcs0.savannah.gnu.org>
[not found] ` <20170711151709.2AE9822E0A@vcs0.savannah.gnu.org>
2017-07-12 0:09 ` master d014a5e: Use fixed-pitch font for display-line-numbers Mark Oteiza
2017-07-12 2:39 ` Eli Zaretskii
2017-07-12 3:18 ` Mark Oteiza
2017-07-12 14:25 ` Eli Zaretskii
2017-07-13 20:18 ` Nicolas Petton
2017-07-14 6:30 ` Eli Zaretskii
2017-07-14 7:43 ` James Cloos
2017-07-14 11:16 ` Nicolas Petton
2017-07-14 12:38 ` Eli Zaretskii
2017-07-12 8:06 ` Yuri Khan
2017-07-12 14:36 ` Eli Zaretskii
2017-07-13 6:13 ` Yuri Khan
2017-07-13 15:57 ` Eli Zaretskii
2017-07-13 18:07 ` Yuri Khan
2017-07-13 19:02 ` Eli Zaretskii
2017-07-13 19:17 ` Yuri Khan
2017-07-13 19:49 ` Eli Zaretskii
2017-07-13 20:15 ` Alex [this message]
2017-07-14 6:47 ` Alex
2017-07-14 7:12 ` Eli Zaretskii
2017-07-14 6:56 ` Eli Zaretskii
2017-07-15 0:09 ` Alex
2017-07-15 7:08 ` Eli Zaretskii
2017-07-14 3:00 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shi08562.fsf@lylat \
--to=agrambot@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mvoteiza@udel.edu \
--cc=yuri.v.khan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).