emacs-devel
[Top][All Lists]
Advanced

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

Re: Any new method to deal with Emacs Fonts settings puzzles nearly ever


From: Feng Shu
Subject: Re: Any new method to deal with Emacs Fonts settings puzzles nearly every Chinese emacser?
Date: Sun, 14 Nov 2021 03:54:43 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

"Feng Shu" <tumashu@163.com> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>
>>> The below two line:
>>> 
>>>   1. Hello and 你好  (line-pixel-height) = 30
>>> 
>>>   2. Hello           (line-pixel-height) = 24
>>
>> I don't understand what that means, sorry.  Are you saying that it
>> doesn't work?  If so, please show what you did to try it.
>>
>>> I want to a way to set min line pixel height, and let line height 
>>> always 30, no matter Chinese exist or not.
>>
>> That's what line-height does, see the ELisp manual, node "Line
>> Height".
>
> I have try the below code, and it work
>
>   (insert (propertize "\n" 'line-height 1.4))
>
> But how to apply it global? why line-height is not a variable?
>
> in mode-line, header-line and tab-line, this approach do not work, for
> mode-line seem to disallow include "\n"

By the way, how to control mode/header/tab-line's height? 

-- 




reply via email to

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