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:53:31 +0300 Message-ID: <83sg2zda04.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13947"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Daniele Nicolodi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 06 19:55:51 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 1leiE3-0003TV-1P for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 19:55:51 +0200 Original-Received: from localhost ([::1]:40388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leiE2-0001Ff-0D for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 13:55:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leiBw-0008Kr-S5 for emacs-devel@gnu.org; Thu, 06 May 2021 13:53:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50852) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leiBv-0006L4-Vq; Thu, 06 May 2021 13:53:39 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3349 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 1leiBv-00012j-JB; Thu, 06 May 2021 13:53:39 -0400 In-Reply-To: (message from Daniele Nicolodi on Thu, 6 May 2021 18:57:46 +0200) 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:268985 Archived-At: > 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?