From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
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: Sat, 13 Nov 2021 18:36:05 +0200
Message-ID: <8335o0xbbe.fsf@gnu.org>
References: <2c676019.21d2.17d19ba2dc8.Coremail.tumashu@163.com>
 <838rxsxes6.fsf@gnu.org> <87k0hcuj9h.fsf@163.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="26852"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: emacs-devel@gnu.org
To: "Feng Shu" <tumashu@163.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 13 17:36:59 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 1mlw1T-0006nu-B5
	for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 17:36:59 +0100
Original-Received: from localhost ([::1]:38316 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 1mlw1S-0005P9-4Y
	for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 11:36:58 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:58856)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>) id 1mlw0s-0004ka-QC
 for emacs-devel@gnu.org; Sat, 13 Nov 2021 11:36:22 -0500
Original-Received: from [2001:470:142:3::e] (port=55392 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1mlw0s-0001gT-AJ; Sat, 13 Nov 2021 11:36:22 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=xPDqJX7gYAj/9tSJoQfNBGD2zmmCITOe8b0N7tOKg7w=; b=qB/1Vczqt2qCkmnzf5ps
 3Abwor7GTAb2jzUp20LifOSAYV6rmp4C6MV70yCdmPOqwcO6PKDZgcvDcBgNQkRcT1Bh+eukD1664
 8/OSd0qVfstVz1fP+e7gI5/BUARbcBvpTOkpBrSq2s2DLBeysQWptLKOEtPpSL7/ils5OSj9Xzigc
 xd6tVBC2fCgNHng0GnX2WO81hPN3kf7MMZ5AyBzUW4j5klITfl0v3hAsgPN2F73WYyTSjc+hp5juv
 i50lLPtdfLpx1lkzLuKYu8pJ6D/+f2RtjDwhEgjttNmhdKQbjwnGBHjHe3S5yxzuDZ1scXPwyGnkB
 Guh/HNLKG0Ue5Q==;
Original-Received: from [87.69.77.57] (port=2334 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1mlw0r-0007Oh-Ro; Sat, 13 Nov 2021 11:36:22 -0500
In-Reply-To: <87k0hcuj9h.fsf@163.com> (tumashu@163.com)
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:279338
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/279338>

> From: "Feng Shu" <tumashu@163.com>
> Cc: emacs-devel@gnu.org
> Date: Sun, 14 Nov 2021 00:12:42 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >>      (2)                     Chinese char Height > Ascii char height,
> >> 
> >> 
> >> The results is that head-line, mode-line and minibuffer's height
> >> will shark (change frequently depend Chinese char exist or not).
> >> it looks very very ugly.
> >
> > Did you try to set the line-height text property on the newline of
> > each line?
> 
> I think not:
> 
> 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".