emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Increase default `line-spacing' to 0.05, 0.10 or 0.15 [proposal]


From: Eli Zaretskii
Subject: Re: Increase default `line-spacing' to 0.05, 0.10 or 0.15 [proposal]
Date: Thu, 06 May 2021 20:34:37 +0300

> Date: Thu, 06 May 2021 17:01:36 +0000
> From: Gregory Heytings <gregory@heytings.org>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]