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 =?gbk?B?ZW1hY3NlcqO/?=
Date: Mon, 15 Nov 2021 14:43:38 +0200
Message-ID: <834k8dtwqt.fsf@gnu.org>
References: <2c676019.21d2.17d19ba2dc8.Coremail.tumashu@163.com>
 <593d0379.21f8.17d19c624db.Coremail.tumashu@163.com>
 <7b6b298a.222b.17d19d2e110.Coremail.tumashu@163.com>
 <834k8gxe9v.fsf@gnu.org> <87fss0uixn.fsf@163.com> <831r3kxb05.fsf@gnu.org>
 <87v90vhmr8.fsf@163.com> <83tugfx1py.fsf@gnu.org> <87y25rfwxi.fsf@163.com>
 <831r3jw5vr.fsf@gnu.org> <874k8f89zl.fsf@yahoo.com>
 <83o86nupjl.fsf@gnu.org> <63a66f1b.543.17d21113382.Coremail.tumashu@163.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=gbk
Content-Transfer-Encoding: 8bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="15919"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: luangruo@yahoo.com, emacs-devel@gnu.org
To: tumashu <tumashu@163.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 15 13:46: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 1mmbNy-0003uw-Ox
	for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 13:46:58 +0100
Original-Received: from localhost ([::1]:42454 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 1mmbNv-0005PY-SF
	for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 07:46:57 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:50068)
 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 1mmbKx-0003nv-36
 for emacs-devel@gnu.org; Mon, 15 Nov 2021 07:43:51 -0500
Original-Received: from [2001:470:142:3::e] (port=60474 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 1mmbKw-0003PN-Pv; Mon, 15 Nov 2021 07:43:50 -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=tdpmD8eOEoEDEagbEd0t0oxwy70VBuhMLBh7ZtM1Nxs=; b=CuMmDFQxEHQhEruwEBDx
 UlqjBntFnhyfWyxfyi3pqSUN/4wnrkKt6zIonNDiRlokvavAowcsQiO8TkpoXwoL7jZoISEo5LWrB
 rFP6WwEznvUYiA4bKlXPR51RYEeoez/7XnoiIefT7rBk6HO7JA70STz07ZFKrI4Ni1aBhFqk/qdT0
 W6PbJJ8MvGw6+MvqelFI2dtWy1rungi/2mHp+t4lPyhpEjsCim+ygnw2tXFcQQz3sAIKo3p/q+olY
 X68UcHnePlC5e1Iz6OnP2d7rcMLiFBRTdB3Fq9aJY0nw9/EDW3XRpoTgK6aRWTA6mOyAxX2p65i58
 UjhMx7vwfy+HRA==;
Original-Received: from [87.69.77.57] (port=1632 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 1mmbKu-0002Rv-F4; Mon, 15 Nov 2021 07:43:49 -0500
In-Reply-To: <63a66f1b.543.17d21113382.Coremail.tumashu@163.com> (message from
 tumashu on Mon, 15 Nov 2021 08:48:35 +0800 (CST))
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:279492
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/279492>

> Date: Mon, 15 Nov 2021 08:48:35 +0800 (CST)
> From: tumashu  <tumashu@163.com>
> Cc: "Po Lu" <luangruo@yahoo.com>, "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> 
> Can we caculate line-height based on the max fonts height in fontset, 
> instead of ASCII font?

Fontsets don't usually define sizes of fonts.  And if you do define
the size, what happens when Emacs needs a smaller or larger font for
the same script or range of characters?

> Or can we let user choose a subset of fonts to caculate max height?

The main problem is not with the calculation of the size, the problem
is with application of the size: to which characters to apply it and
under what circumstances?