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:34:37 +0300 Message-ID: <83v97vdavm.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> <531453ddd665244d7826@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3556"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, arstoffel@gmail.com, stefankangas@gmail.com, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 06 19:37:33 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 1lehwJ-0000iY-5W for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 19:37:31 +0200 Original-Received: from localhost ([::1]:39148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lehwI-0005B0-4y for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 13:37:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lehti-0003ws-DO for emacs-devel@gnu.org; Thu, 06 May 2021 13:34:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50224) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lehth-0004pG-UT; Thu, 06 May 2021 13:34:49 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2202 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 1lehth-0007GW-Hp; Thu, 06 May 2021 13:34:49 -0400 In-Reply-To: <531453ddd665244d7826@heytings.org> (message from Gregory Heytings on Thu, 06 May 2021 17:01:36 +0000) 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:268982 Archived-At: > Date: Thu, 06 May 2021 17:01:36 +0000 > From: Gregory Heytings > cc: jporterbugs@gmail.com, arstoffel@gmail.com, stefankangas@gmail.com, > emacs-devel@gnu.org > > > on the Emacs side, I can point you to the code which implements > > line-spacing, which clearly shows that if line-spacing is nil, the > > default, we add NOTHING (a.k.a. "zero") to the height of the line, > > leaving it at its computed value of the sum of the maximum ascent and > > maximum descent of the glyphs in that line. > > Of course I trust you. Perhaps Emacs has a different understanding of > what the ascent and descent of a glyph is? We use the font's ascent and descent values, when a font provides them and they are reasonable. Maybe those values include some spacing? I'm not an expert on fonts and typography, so I don't know. > Anyway, I'm not sure all this is really important for this discussion. Right.