From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#31702: Date: Mon, 4 Jun 2018 00:48:16 -0300 Message-ID: References: <87tvqjp7lj.fsf@carlos.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1528084033 21955 195.159.176.226 (4 Jun 2018 03:47:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2018 03:47:13 +0000 (UTC) To: 31702@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 04 05:47:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPgSW-0005Vl-DI for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jun 2018 05:47:04 +0200 Original-Received: from localhost ([::1]:37481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPgUd-0005d0-DZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jun 2018 23:49:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPgUT-0005co-NU for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 23:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPgUQ-0000f9-Mo for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 23:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPgUQ-0000ey-J3 for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 23:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fPgUQ-0000Rl-Ak for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 23:49:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87tvqjp7lj.fsf@carlos.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jun 2018 03:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31702 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31702-submit@debbugs.gnu.org id=B31702.15280841251681 (code B ref 31702); Mon, 04 Jun 2018 03:49:02 +0000 Original-Received: (at 31702) by debbugs.gnu.org; 4 Jun 2018 03:48:45 +0000 Original-Received: from localhost ([127.0.0.1]:60748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPgU8-0000R2-Ug for submit@debbugs.gnu.org; Sun, 03 Jun 2018 23:48:45 -0400 Original-Received: from mail-io0-f169.google.com ([209.85.223.169]:47014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPgU7-0000Qc-1N for 31702@debbugs.gnu.org; Sun, 03 Jun 2018 23:48:43 -0400 Original-Received: by mail-io0-f169.google.com with SMTP id d22-v6so21815580iof.13 for <31702@debbugs.gnu.org>; Sun, 03 Jun 2018 20:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Pv2zJwzaZOb6CF3gVELlXqDu6Je3GIb6rnkL44Fmx34=; b=joeGG8oSV2dGDFyjRXU9cOEwDcpUuCbvEjxtT638OA1oTz0xuiXoZHw3LAZYY8baIm wcIZDZ5BX/kL5puZ+d5fnr3ypMuV89Sm7w/aielhfrguNUIED3yErblHRl6GllTHq1L2 ENobAfRhF3vk2FFTuSFBh+8zJ1EKNpE9gHtfEGTC81sXIoiOytjIOMSg8ExjN/+Snlrk AEPbWF5ICW4zosp8+DMG0fsSb3CDkTFhMzx6L4Qa4HJXStX0GjbT/i4OQSpJAkxE2UGC fgASkcErSDgdyNcG/KXOwLmx2y6N+ZXH038cSW2w2cmrcnvhCIV/o7SpOnZx9yKyx1sq No1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Pv2zJwzaZOb6CF3gVELlXqDu6Je3GIb6rnkL44Fmx34=; b=b8GNJo5BXTJ+aF6xK20c+TzHEbEhbqar/qajT80cLconX5CrUEMZPfEC+VBXfHKRcF Y00aHXG/xzuUgwIcTsY5XCgUSwCEaVc8e1r714Hb7X+KFC0Hd/jaOjdotiuhb3pC7+Xn 1otlw/vrA7/3YN+nNI0UfIUAPWfw6cdjnbIDdLQ4ED6kIVwlkRXPoxyDqQChq+lTlcLa LndEbSZ2wjJ+wzeIwtckXPBMMJd89vkRtz6QiWZICW4FzM1IK2RUUZhyj90Y/vOW24on tVA337ivzjEilNpLIrqy/IxTg+KTOsPTCdKn7ckQ4aV3mbWKGe09793hoL4AfBD7fyZB ZXfQ== X-Gm-Message-State: ALKqPweS5KZNyS7X/XrDi+NJkXgrhwm1ekFeU7a/dac1j69KCNj/i6fk NtEuxmNLi5oRAbQ6tKdjl79lNcD1FtpkooBhwCo= X-Google-Smtp-Source: ADUXVKKCiU9Zu7GSEtLgjP6I+A0nzEtaRZRkquSFx8SShzyD93yrUCXioz2nFklmYgxV+O1vbWmzod8sy+2dGiD4R1Y= X-Received: by 2002:a6b:882a:: with SMTP id k42-v6mr19623101iod.137.1528084116893; Sun, 03 Jun 2018 20:48:36 -0700 (PDT) Original-Received: by 2002:a02:a98e:0:0:0:0:0 with HTTP; Sun, 3 Jun 2018 20:48:16 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146937 Archived-At: 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.