unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Default font / size
Date: Wed, 21 Jun 2017 22:30:03 +0300	[thread overview]
Message-ID: <83podxuojo.fsf@gnu.org> (raw)
In-Reply-To: <CAOj2CQTBPvDZmJeEcuufsiwctrRScSL=JnWzej4-SkV-xWy1oQ@mail.gmail.com> (message from John Mastro on Wed, 21 Jun 2017 12:15:03 -0700)

> From: John Mastro <john.b.mastro@gmail.com>
> Date: Wed, 21 Jun 2017 12:15:03 -0700
> Cc: Eli Zaretskii <eliz@gnu.org>
> 
> > Or maybe you are asking why Emacs chooses size 12 for Consolas, but
> > size 10 for Courier New, and what factors affect that?
> 
> Indeed, that may be a better way of putting it.
> 
> The way I was thinking of it, probably muddled, was: Emacs has some way
> of selecting 10 as the font size when I don't specify a font, so I just
> need to find a way to ask it to do that when I specify Consolas.
> 
> But if 12 is selected for Consolas because of some difference(s) between
> Courier New and Consolas then I probably can't avoid specifying the
> size (without avoiding Consolas anyway).

I think (but don't have time to check this now) that size 10 for
Courier New is due to how the default fontset is set up on Windows,
see w32-win.el.  If I'm right, then perhaps you could tweak
w32-standard-fontset-spec in your init file such that other fonts are
also chosen with size 10.  (Tweaking that variable needs to be done
from one of the hooks defined by startup.el, I think.)



  reply	other threads:[~2017-06-21 19:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 21:50 Default font / size John Mastro
2017-06-20 22:03 ` John Mastro
2017-06-20 23:30 ` Mekeor Melire
2017-06-21  9:31 ` Emanuel Berg
2017-06-21 17:47 ` Eli Zaretskii
2017-06-21 19:15   ` John Mastro
2017-06-21 19:30     ` Eli Zaretskii [this message]
2017-06-21 20:29       ` John Mastro

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=83podxuojo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).