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: Sun, 14 Nov 2021 15:54:41 +0800 Message-ID: <87r1bj6uke.fsf@yahoo.com> References: <2c676019.21d2.17d19ba2dc8.Coremail.tumashu@163.com> <838rxsxes6.fsf@gnu.org> <165ffaaf53a0f38af0415eb4e6b7844f@webmail.orcon.net.nz> <87bl2nppt6.fsf@163.com> <877ddbpp1y.fsf@163.com> <83zgq7ur1r.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="25197"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: "Feng Shu" <tumashu@163.com>, psainty@orcon.net.nz, 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 Sun Nov 14 08:57: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 1mmAOY-0006La-AT for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 08:57:46 +0100 Original-Received: from localhost ([::1]:57310 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 1mmAOX-0002m2-2t for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 02:57:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55014) 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 1mmALs-0008Tv-7e for emacs-devel@gnu.org; Sun, 14 Nov 2021 02:55:00 -0500 Original-Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:37438) 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 1mmALo-0008Gi-J1 for emacs-devel@gnu.org; Sun, 14 Nov 2021 02:54:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636876494; bh=L1UWDzgs+L5/L3wzviikUQ0Ebo2yThgLXSXlnHHiyGg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=KGmfwx1o1FWnQgIpAJ46I+DJxTze7//pt9vRLU6nNQOEp9OyvrooGoyqoOIU77vvuzlwN7I29ScPWSRywXlEVDqMPps4dKfCVAfXglBR8CP40dau6bq/Zr20wgAhHotrDKTh3S4GXUHmAFRm8xXGnpL2JY3ypgQp4ZvawcSOQj3oLml+bitgQE4JMUO276a80Gs9L1is2iwb964yhM7tTbXav2a9Pyokh7x0CDhVDAWsfFguyQS1nNH3IdBfa9F6fU3NdfN6pOY5mqGwYSNP7k+h7IGMHnxk8gA7XhSfXJRR9VuVxycZg0ct0CqTWzdkVQWXWTx73uZmiHC3BINRxg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636876494; bh=tHcK/Xoq7NhU3MkqD+hcVa9snARQV91B6ZYwxrucsSB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=TjKIy/SUFNmoF40ZEnADhVwuLUGg1udMF0c1Py5or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y3sBIPthNvTZFscr8Ee1v.9PqKUfeKe04.WleIJHMxe9 qUreaRfATHrt4x5HauH4fYxByr4voZdmueK84TVF5Y X-Sonic-MF: <luangruo@yahoo.com> Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Sun, 14 Nov 2021 07:54:54 +0000 Original-Received: by kubenode514.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 1776e4bf78e751d58a6fea81bff76734; Sun, 14 Nov 2021 07:54:46 +0000 (UTC) In-Reply-To: <83zgq7ur1r.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Nov 2021 09:36:48 +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.186.146; envelope-from=luangruo@yahoo.com; helo=sonic302-20.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=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." <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:279394 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/279394> Eli Zaretskii <eliz@gnu.org> writes: > How would you know that the value 2 is the one to use? > > This kind of solution sounds like a terrible kludge to me. It is also > unreliable, because the font designers didn't promise us the padding > value will not have to change when more characters are added. And the > value depends on the ASCII font being used as well, not just the CJK > font, so even the syntax of the spec is incomplete (it doesn't mention > the ASCII font). > Would someone please investigate how do other GUI editors solve this > problem, and post a summary? I'm sure there are better solutions than > asking users to provide pixel values for each pair of fonts. >From a quick investigation (not at all conclusive) of GNOME Builder, it seems to define some fixed height for its various 'bars', which doesn't change based on the characters inside. Other GUI editors behave similarly. But I have no significant experience with them to speak of. Thanks.