unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Font size innacuracies (Windows)
Date: Tue, 01 Mar 2022 11:24:21 +0100	[thread overview]
Message-ID: <865yoy9dii.fsf@csic.es> (raw)

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

Hi,

I am trying to reproduce a setup I am happy with in Visual Code to
Emacs. In particular, on VSCode I use Consolas at 14px, which is the
default setting and has the right density on my monitor. However, when I
try similar specifications on Emacs, it produces different results.

First of all, setting "Consolas:pixelsize=14" is wrong. It gives a much
larger font. The closest I have come to is using "pixelsize=12", but
even then the text does not have same size. Jumping to "pixelsize=11"
simply makes the text unreadable.

As example I attach a capture: on the left it is VSCode with Consolas at
14px, on the right Emacs. The horizontal width of the characters is
different, as it is the vertical spacing. This is default Emacs version
27.2 with no changes other than the Doom theme.

I know it is nitpicking, but it also affects the configuration of other
fonts I use for variable spacing. Somehow the jumps in Emacs are wildly
innacurate and more limited than on other Windows software.

Does anyone know how to fix this?

Best,

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es

[-- Attachment #2: comparison.png --]
[-- Type: image/png, Size: 31360 bytes --]

             reply	other threads:[~2022-03-01 10:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 10:24 Juan José García-Ripoll [this message]
2022-03-01 14:21 ` Font size innacuracies (Windows) Phillip Susi
2022-03-01 15:16   ` Juan José García-Ripoll
2022-03-01 15:26     ` Robert Pluim
2022-03-01 15:48       ` Juan José García-Ripoll
2022-03-01 17:14     ` Eli Zaretskii
2022-03-02  7:43       ` Juan José García-Ripoll
2022-03-02 20:06         ` Eli Zaretskii
2022-03-01 17:02 ` Eli Zaretskii
2022-03-02  7:19   ` Juan José García-Ripoll
2022-03-02 20:13     ` Eli Zaretskii

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=865yoy9dii.fsf@csic.es \
    --to=juanjose.garciaripoll@gmail.com \
    --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).