From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Increase default `line-spacing' to 0.05, 0.10 or 0.15 [proposal] Date: Thu, 06 May 2021 20:57:38 +0300 Message-ID: <83pmy3d9t9.fsf@gnu.org> References: <871ramlbpy.fsf@telefonica.net> <87fsz1zmhv.fsf@gmail.com> <87sg30usa2.fsf@gmail.com> <83mtt8dvft.fsf@gnu.org> <87a6p8w0b7.fsf@gmail.com> <83h7jgdqhs.fsf@gnu.org> <531453ddd626d93fbb46@heytings.org> <83czu3evks.fsf@gnu.org> <531453ddd6aad581d339@heytings.org> <831rajesgw.fsf@gnu.org> <83sg2zda04.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12715"; mail-complaints-to="usenet@ciao.gmane.io" To: daniele@grinta.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 06 20:03:36 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leiLX-0003D9-G9 for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 20:03:35 +0200 Original-Received: from localhost ([::1]:47614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leiLW-0004Wz-Ed for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 14:03:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leiFv-0002lV-QV for emacs-devel@gnu.org; Thu, 06 May 2021 13:57:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51044) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leiFv-0000CK-EX; Thu, 06 May 2021 13:57:47 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3605 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1leiFu-0005Lb-NT; Thu, 06 May 2021 13:57:47 -0400 In-Reply-To: <83sg2zda04.fsf@gnu.org> (message from Eli Zaretskii on Thu, 06 May 2021 20:53:31 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268986 Archived-At: > Date: Thu, 06 May 2021 20:53:31 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > From: Daniele Nicolodi > > Date: Thu, 6 May 2021 18:57:46 +0200 > > > > I didn't look at the code, but I don't think this is true: on my Emacs, > > lines containing only "." or containing only "l" have exactly the same > > height, as I would expect. > > You assume that the metrics of these two glyphs are different in > monospaced fonts? > > > Also, lines containing only a new line character (thus no printable > > characters) still have the same height as lines with content, as > > expected. > > Newline leaves no glyphs on display, so their metrics cannot be > calculated from the font. > > > Are you sure Emacs does not consider the maximum ascent and descent of > > each _font_ contained in a line and not of each _glyph_? > > Why do you think there's a difference? And in any case, line-spacing of nil adds nothing to the metrics, no matter where they come from. IOW, Emacs doesn't determine this; the font does.