all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 31702@debbugs.gnu.org
Subject: bug#31702:
Date: Mon, 4 Jun 2018 00:48:16 -0300	[thread overview]
Message-ID: <CAELgYhd5rDu0MM_R5FjV+oUAsXkVF-A9h4JADaQ_LGHWLLu4UQ@mail.gmail.com> (raw)
In-Reply-To: <87tvqjp7lj.fsf@carlos.i-did-not-set--mail-host-address--so-tickle-me>

Ok, I think I now understand the problem a bit better:

1. Changing the height from 102 to 109 sets the effective height to
105. This size is the same of that of the font which both the font
select dialog and gnome-terminal show for "Hack 11" (I have counted
pixel by pixel in comparative xmag shots).

2. From 110 to 116 the effective size is 113 as stated above. This is
the size corresponding to "Hack 12" in the font selector and in
gnome-terminal.

3. 117 rounds up to 120, etc.

So I guess it's just a different way of rounding up to the next
available size (I don't know which is the precision of the underlying
font renderer but I assume it's not a tenth of a point... from the
numbers above it seems to be about 6 or 7 tenths of a point).

But:

* The fact that setting the font from the font dialog offered in the
menu bar of emacs itself doesn't set a font with the height that was
previewed in the dialog is a bit disturbing.

* Besides, since the height attribute documentation explicitly states
that the it is measured in tenths of a point, the rendering of a font
with height P * 10 in emacs should exactly match the rendering of the
same font with size P in the system. There is no "rounding up" excuse
for the mismatch between 110 and 11, for example.





  reply	other threads:[~2018-06-04  3:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04  3:13 bug#31702: 26.1; Effective font height is different from set value Carlos Piat
2018-06-04  3:48 ` Carlos Pita [this message]
2018-06-04 17:27 ` bug#31702: Carlos Pita
2018-06-04 18:25   ` bug#31702: Carlos Pita
2018-06-04 19:11     ` bug#31702: Eli Zaretskii
2019-11-02  1:10       ` bug#31702: Stefan Kangas
2018-06-04 23:02 ` bug#31702: Carlos Pita

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAELgYhd5rDu0MM_R5FjV+oUAsXkVF-A9h4JADaQ_LGHWLLu4UQ@mail.gmail.com \
    --to=carlosjosepita@gmail.com \
    --cc=31702@debbugs.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.