From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Po Lu <luangruo@yahoo.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: Mon, 15 Nov 2021 20:47:15 +0800
Message-ID: <877dd9povg.fsf@yahoo.com>
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>
 <834k8dtwqt.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="31137"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)
Cc: tumashu <tumashu@163.com>,  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 Mon Nov 15 13:49:46 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 1mmbQg-0007sJ-E7
	for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 13:49:46 +0100
Original-Received: from localhost ([::1]:46760 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 1mmbQf-0008NQ-D9
	for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 07:49:45 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:50684)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1mmbOU-0005z9-5c
 for emacs-devel@gnu.org; Mon, 15 Nov 2021 07:47:30 -0500
Original-Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:36391)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1mmbOS-0003zR-7k
 for emacs-devel@gnu.org; Mon, 15 Nov 2021 07:47:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1636980444; bh=IZjyX/ATRb/vLXhFJebWqWp7w+6PiMQ0Hg1rZco+oiw=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=l2lQgYKw2djP9k+RU1qSOLxL4VFTTuXdhfzSWIuXsRV0xQmW4QCsbGMphGyO8d96Ig25UY+cQqrTw6tjNGtz6SASkIIRs54bzl7guvNM7c7kdjLcbjoUhPNHBL8Na5Upp4e5xv0Z+xX72y5C/h3/XQgPEn29+5GEbk7Vmyfw25OuilQJCrZihUcZJndUCG4DuotpWRtjlLfzwxzMEhc6qz8sU0pdYYG+eVz/Q0orj+CGZDLVXbT0lctQtUq+8GaMJygnbwm/v8SFWb6EceUYWpZuQPN7GnsfscGY9lGdVTqHWPHg5GCabjyuxsRVmhoHZo2ufO+nERg60YiZ7tjQKw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1636980444; bh=zLX3gvRa29uRTkDrAEVpZCVIihoCEC+M+ZbQF22fLRA=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=C6olxi2EhHpdAZ4kGpZLKEmB96orOFkRbsgGIvjFx94BU5EP7TZuFrzBhb6otBpW18eKvRaIozezGdYSKwTZqAVwNqZdn7v8Oa9iY+JeIte7aaugAdOHM56leYYZZEEnHJ65JPIvfvpFkhX+0hae24huTubb8DLHi/NWI8Q2t1m+WQmGf6i34Si2QaU6K1OSU+458DDz7eebVSgchtb4XGKgBtdrXZ4GGFmW+1Pk0oewqdab+gemG0fY/ckmkaHPSykgcyc3rYY1IOOjkTVhQrDsWUHxt43gN9K3OkomD4wRmEtKX98XOrcERe+ro5N9GRHlq+XYMLdvo1jmaKzarg==
X-YMail-OSG: iMglBVQVM1mYP4UXKSwTuX4eETRz9660Y6XbRycXq0hkr_LITRLgK1j01CdL99q
 73gr4OumeJbQNVNuORlO6aUWludIXRs6PHtMgJFq9p.P1Be4eoTaKMMvO6A63BmlsVGtQo1SXxrl
 mT20M_247oU3SpMxiwERinvlXbwZTUOu7r6x4Tj7emSLKtLJOyS1vKtGoGdB8IYhK9LLt1HeFCZA
 fRiKQduQZhAPNk8cXoVyvcsnfI0e_y6NjC6fl6NJkUDG05pYHI_dgch5UHe_07C5W7tIkl6GT9vv
 3xZMVtwxirbjeimZxkkLzYTq3BM5YyQAsrm8wTEMWZ5E3H3v1QNjISv_EJTXq8MDlNZ3nRkze_FN
 WU50WQcRPWE9ZvQTOb3V.W7PRQcsc_FaeVSYe6c6_AsOk_lZD757ACbLUDLlEpRRKoV5ZQZoJ8Ht
 gHsShvjbBHUo7ZjGLIIUuoySp4ZJmz9wC7tTh4pw362403_ahpVQND_LCj6xJod2kQ9v63bdyUzT
 3cGMDYHQpCGzPJftlg7F8ziB6GtPtH53flCCWpGUeUEEMPJaoE0R2sxbx.bfLlhOE4P1J7sCyAvK
 uCPDGpMw8EtHJ1jBdsRk06rC.c5OW1xkmFde1fKDeFVhztht9L82gk._Y6pouZreC.AW2WqcOQvm
 sSh._AeRRXz08TZ1OuDfDzHkm0DLoU3ZuvMTyGosgvgnAZZcA1Lg3sMW6i8uAVE4LOPxKgZ1CZZu
 IzA9ZW6fnuviQTvHG.GXPQo1H8.Ze1osHTuGkl60yrMnrDBNSoFFWCn9sJ.xG5joasDQpLBhqTQ6
 lalRwWkrwW1rdCbK8Mlqe3exhsTy3tXXKZIZUW5z8n 
X-Sonic-MF: <luangruo@yahoo.com>
Original-Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic308.consmr.mail.ne1.yahoo.com with HTTP; Mon, 15 Nov 2021 12:47:24 +0000
Original-Received: by kubenode504.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID 1c2998e0d053ebbb5674ab39f7082db9; 
 Mon, 15 Nov 2021 12:47:18 +0000 (UTC)
In-Reply-To: <834k8dtwqt.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 15 Nov
 2021 14:43:38 +0200")
X-Mailer: WebService/1.1.19306
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Received-SPF: pass client-ip=66.163.187.31; envelope-from=luangruo@yahoo.com;
 helo=sonic308-56.consmr.mail.ne1.yahoo.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_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=unavailable 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:279493
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/279493>

Eli Zaretskii <eliz@gnu.org> writes:

>> 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?

I did some experimentation with another commonly used GUI application,
Chromium.  I take back what I said earlier about GUI programs not doing
anything to resolve this problem: it simply scales the larger font's
glyphs until it fits into some predefined line height, which I think is
defined in CSS.

Thanks.