bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height


From: Eli Zaretskii
Subject: bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height
Date: Sun, 14 Nov 2021 09:23:44 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: tumashu@163.com,  51821@debbugs.gnu.org
> Date: Sun, 14 Nov 2021 08:01:36 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Sounds good to me.  Perhaps call it min{imum,}-line-height, though.
> >
> > IMO it should be line-height, for similarity with line-spacing.
> 
> But line-spacing is an absolute value, while this isn't an absolute
> line-height.  If there's something that's taller than line-height, the
> line won't be truncated to that value.
> 
> So it's the minimum line height.

How is this different from the line-height text property?

I think it will be confusing and harder to remember to have
line-spacing both as a variable and a text property, but line-height
only as a text property with a variable named differently.





reply via email to

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