From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Feng Shu" 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 00:19:48 +0800 Message-ID: <87fss0uixn.fsf@163.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28769"; 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 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 13 17:20:48 2021 Return-path: 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 ) id 1mlvln-0007Ed-Ih for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 17:20:48 +0100 Original-Received: from localhost ([::1]:33062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlvlm-0000ve-5g for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 11:20:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlvl0-0007uO-RH for emacs-devel@gnu.org; Sat, 13 Nov 2021 11:19:58 -0500 Original-Received: from m12-11.163.com ([220.181.12.11]:56421) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlvkw-0008AR-CF; Sat, 13 Nov 2021 11:19:58 -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=jMEQ+ CUbTYLUzmUrtK805PvJVw2pnCuVNh1o0KcCZCE=; b=Kxm6eH+SGo+QQjTvoEwJs gew9NiW+laBSrf8l1fP1Ve1tIu/H8xPP0u9HrYFK6hBehBGOY9HpxHAlzyVxFvdh W+zkXBUpSFoHcNpY/u2IPKP4F6Wy4sv++0ziiBDTAUtvmRHRs0hrTQMsKYligwiB N/mQ0CZ1s/44zJIaCN+iMY= Original-Received: from tumashu (unknown [49.88.37.140]) by smtp7 (Coremail) with SMTP id C8CowAAXe6Sk5Y9hlfvCEg--.7154S2; Sun, 14 Nov 2021 00:19:49 +0800 (CST) In-Reply-To: <834k8gxe9v.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Nov 2021 17:32:12 +0200") X-CM-TRANSID: C8CowAAXe6Sk5Y9hlfvCEg--.7154S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtFyfCF18tryUGw1xZFW8Zwb_yoWfAFcEyr WkJry8Cw47Gr47Ca1vgan8JryxtFy0vr1kXFWUXwsFgFy7XFW8GrsIgFZFqF17Jr1vkFn8 Gr1Fgay8CrWSvjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjeHq3UUUUU== X-Originating-IP: [49.88.37.140] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiRQVK1GDuuKQCNgAAs4 Received-SPF: pass client-ip=220.181.12.11; envelope-from=tumashu@163.com; helo=m12-11.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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279337 Archived-At: Eli Zaretskii writes: >> Date: Sat, 13 Nov 2021 23:03:10 +0800 (CST) >> From: tumashu >> >> I have found a hack patch to deal with this problem: it is created by cjacker in 2012, >> After this patch can not apply, I created cnfonts as a Chinese new emacser. > > You shouldn't have posted the code, because we cannot use non-trivial > patches from someone who doesn't have a copyright assignment. > Instead, you should describe what the patch does, so someone else > could code it independently; then we could use the resulting patch, if > we think it's a good idea. I know, this patch just an example, it is too old and can not apply to master. I use the method of terminal to solve "1 Chinese char width = 2 * Ascii char width", by add extra padding when faced Chinese fonts. Maybe we can provide a custom to control this padding's width? I do not know this is a good idea or not. --