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

Previous Next

Package: emacs;

Reported by: "Feng Shu" <tumashu <at> 163.com>

Date: Sat, 13 Nov 2021 23:30:03 UTC

Severity: wishlist

Found in version 29.0.50

Full log


Message #64 received at 51821 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tumashu <at> 163.com, 51821 <at> debbugs.gnu.org
Subject: Re: bug#51821: 29.0.50; Suggest add variable or frame parameter:
 line-height
Date: Tue, 16 Nov 2021 08:34:23 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> It has to work across different fonts -- I think that's the real use
>> case here, that if you're missing different fonts (which you commonly
>> are when writing with different scripts), then the Emacs display gets
>> pretty messy (uneven line heights all over the place).
>
> You mean, because of "tofu"?  But tofu doesn't change the line height,
> AFAIK.  So I think I'm missing something.

No, because they're using a mix of different fonts with different heights.

> The last part ruins it all.  I guess you are thinking about faces in
> their 'defface' form?  But when a face gets to be used by the display
> code, it is converted to the internal form and always completely
> specified, and thus always has an explicit :height property already
> calculated.  And of course the default face must always be completely
> specified at this point.

We can propagate the :height setting into the face object as
:requested-height or something.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.