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:42:50 +0200
Message-ID: <831r3kxb05.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>
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="16206"; 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:43: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 1mlw81-00041r-Qb
	for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 17:43:46 +0100
Original-Received: from localhost ([::1]:42090 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 1mlw80-0008D0-HM
	for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 11:43:44 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:59892)
 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 1mlw7O-0007Wh-Qh
 for emacs-devel@gnu.org; Sat, 13 Nov 2021 11:43:06 -0500
Original-Received: from [2001:470:142:3::e] (port=55540 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 1mlw7O-0002S7-I0; Sat, 13 Nov 2021 11:43:06 -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=qvf91g8WDXOMqDmIE+YZnWX+ne0tIqf5C042qf2jko4=; b=c4pUHx04fDn26EN8Hcqk
 XnT0winf+TQtBiCS3wU0RYWUHjowVXvISSglylfbVjkBHNcDD9wDHLr/QQqdpW8CVQ1swc0urxB1v
 r2E+tu5YOsUr6WVVikw6+9FKc9MU4vSVm7r6SrjGYt/SD5fgnTc++wuutwISkijrVUCqgm+DDzpD5
 +Rhp7WjfJP407siU/W1/rlDxmpGn8KfNgk8U7s8wBmtIgcfvwdCZRkMBEQb0binzQ6JUvxMsHuJ8P
 jrmnHIHXGz2kMq0hOy08icd4HZik0gBrEY8muf7qFNv6PgX6A7LaEAWNvcqkTxmEcs3TvoYMHFSTQ
 JswuPYVBK96eQg==;
Original-Received: from [87.69.77.57] (port=2745 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 1mlw7N-000807-WB; Sat, 13 Nov 2021 11:43:06 -0500
In-Reply-To: <87fss0uixn.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:279339
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/279339>

> From: "Feng Shu" <tumashu@163.com>
> Date: Sun, 14 Nov 2021 00:19:48 +0800
> Cc: emacs-devel@gnu.org
> 
> Maybe we can provide a custom to control this padding's width?
> I do not know this is a good idea or not.

How would we compute that padding width?  Emacs could use several
different fonts for both ASCII and Chinese.  For example, the bold and
italic styles could use different font metrics, and sometimes we use
special fonts for specialized faces, like the variable-pitch face etc.
A single value of padding can never DTRT in all of those cases.

I'm actually surprised that there are no font pairs that already solve
this problem.  Did no one find a solution for this problem, so that
Emacs needs to invent a wheel that no one thought about?