From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: "Feng Shu" <tumashu@163.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Any new method to deal with Emacs Fonts settings puzzles nearly
 every Chinese =?utf-8?Q?emacser=EF=BC=9F?=
Date: Sun, 14 Nov 2021 03:33:25 +0800
Message-ID: <87zgq7hmuy.fsf@163.com>
References: <2c676019.21d2.17d19ba2dc8.Coremail.tumashu@163.com>
 <838rxsxes6.fsf@gnu.org> <87k0hcuj9h.fsf@163.com>
 <8335o0xbbe.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="19462"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Cc: emacs-devel@gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 13 20:34:53 2021
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1mlync-0004rD-Lo
	for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 20:34:52 +0100
Original-Received: from localhost ([::1]:47718 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1mlyna-0007ec-V8
	for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 14:34:50 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:56212)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tumashu@163.com>) id 1mlymN-0006we-Mv
 for emacs-devel@gnu.org; Sat, 13 Nov 2021 14:33:35 -0500
Original-Received: from m12-14.163.com ([220.181.12.14]:40824)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <tumashu@163.com>)
 id 1mlymI-0004FZ-I5; Sat, 13 Nov 2021 14:33:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;
 s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=5JodG
 ZjsP5rfN+Nc5bYu5JEGmvLnTVh0P24w0DF7X/I=; b=ntfbBr61Cy/L1fLIXN5hg
 1HrO3eESEDaJwjLXwtCDdTFl6YpbQeW3aIUI28ONaUAQTR0xTpNXWZY6Bq59zLSp
 //B35770CY/71+k9w9vf6uA/FGWJ8jBTi7ldDcEoAG4RaRSudYw/vzTKDb8UiYeL
 es+XCrj5IBicPNKpUPbILw=
Original-Received: from tumashu (unknown [49.88.37.140])
 by smtp10 (Coremail) with SMTP id DsCowABXwNQGE5BhCothSQ--.26586S2;
 Sun, 14 Nov 2021 03:33:26 +0800 (CST)
In-Reply-To: <8335o0xbbe.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Nov
 2021 18:36:05 +0200")
X-CM-TRANSID: DsCowABXwNQGE5BhCothSQ--.26586S2
X-Coremail-Antispam: 1Uf129KBjvdXoW7GFW7Xry8ZFWUurW5CrWDtwb_yoWxKFXEvF
 y0yFyqgw1kGrsY9rsxtF1a93s3XFyqkFyDXas7Xr12yw15ta17CF1DW397Xa4fCr4xtF98
 ur1Iy3WxAF12vjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT
 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjrb17UUUUU==
X-Originating-IP: [49.88.37.140]
X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiqwZK1FUMbh0CpgAAs9
Received-SPF: pass client-ip=220.181.12.14; envelope-from=tumashu@163.com;
 helo=m12-14.163.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:279342
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/279342>

Eli Zaretskii <eliz@gnu.org> writes:


>> The below two line:
>>=20
>>   1. Hello and =E4=BD=A0=E5=A5=BD  (line-pixel-height) =3D 30
>>=20
>>   2. Hello           (line-pixel-height) =3D 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=20
>> 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"


--=20