From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu 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 09:12:01 +0800 Message-ID: <87lf1rlevy.fsf@yahoo.com> References: <2c676019.21d2.17d19ba2dc8.Coremail.tumashu@163.com> <838rxsxes6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40932"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: tumashu , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 14 02:13:10 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 1mm44z-000AQU-Bq for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 02:13:09 +0100 Original-Received: from localhost ([::1]:41998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mm44x-0006aT-Jo for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 20:13:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm448-0005ZA-6d for emacs-devel@gnu.org; Sat, 13 Nov 2021 20:12:16 -0500 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:43862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mm446-00085m-HY for emacs-devel@gnu.org; Sat, 13 Nov 2021 20:12:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636852332; bh=5Fm5uhhllOOs2HXBcDzY3mP24cho6Bc/g2Ca72Ds+g8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=hw69pge+wHbKPqSMmr53wuehqTZMRPAgpeiLWT500K+zNICqcyzVaFtAPjq+AYoD/h3iUV0TRIodzSBLSDUgacNjvinEGBpr6wyQzAfo0Xiz4Z7YjfySVCXkGqSBmGoL5F2ll2/8pt334xcVfU5PLMjX+3NsWf/KtKv/HzMpCprzKK0awg6PaaEOCQW27v7bgOy1EtpFefhETGdGhVtymWWQNkGa7cM+ZhDSRKV6PuCXsajAz+ZTfebdgAMsb14D8Hm+2oIs9IGzEn3WUuXMWZWKPA3eeJYcUR8lwRedBKovA3ratzm6CaB5bBBAGiWxsdTqUkL6oyKHOigSxFojmA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636852332; bh=6q8JHF8KVK/TcH/Y2ttAhlVazNeQ+2OFEtekWmMM7Jy=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=kVbcEnbQmEWXifHdActE1mgvQyMOwCVQgr/+2HAWRFBjE4R6PQKucgpVnL+mzwo2nVDC0krb12RjAgXnf96vLgB0Lwrehs0PjkPLSmWrW6cvHOVv396zqimR7CU6UrrVYnvFb3QOXNCxz6sg1SX0A1AZUd+VPoUyvgtielguBcY4zB7e9aSmuykZSFVLbw/P4mlQxpVxDIekP9ytTzOCBPYhpYZNHWk6M0OJ9rvkqIWZKircNBuFUL2jYZS/rPmdpg0KduVLQkevjfYHORbHglSKZVWYI5Rt7xPvCJDt62CWya4KIkAHHUHhxLQou96g/a+8VVJbRfsnUGit/BiUNQ== X-YMail-OSG: Am.ydMoVM1nDFma784H0.ELUv1aJW5sSXFr8Mo4yGa6ZEFQAU6qsAxF0HOvpkch Ec3P9yvJPA0SwzhcghUHpyUDh_TielXQ5s5DgDluQJWFThImKyPW6ZsEP1KXvCZEDyKcNjWvDBwh F1VQnmvSsup2H9.erKxk52uqcskggJw0EH9_dpiG9d1yE5CmDo.hoLbm0b3qcwOQp9dMxF3PTNeJ qtb9S9rAOvk74XSMde6.LemUbL1_Re6g2VHKwd5MlXN6ilvi_dLMNeTJA.YKNGsXCsU0ejv0xu_p f8lawCopGGfNURKPtY4wfIPtgduq3bJ1KOcN1YhHXkQxd1NMSyDq3yBuixi6RcY76H_znQPBwozv igxmBWGgDYFquFHkcWtzQMF1hv8BI_sKlRD8JJ6CED0rlbWMMOco.ImnkhMuHGoDwfl.sUtLeWBH zLB7SxXfOiWG2mDOwl5xSckGhmNMC_dbSDXVIzu4iyfdUCdajLrpsqFNabO3hAA01rOUpPTlVnqI Mi7xmSw8FAh8eaHM3FvfMEu62R3WqwrJNcg5FWp_ZJXRxACJ0xJjsQdLVEITBQyosnpnup5322VP BCA8MKxCh00eE58_gYArNiVx14Usy62OIEaFGCw.mVN1WZqPCHrS5wnOPzHgf.sYdI0Mv8yBSUY0 m2DNs_sC..xdCpJYBdmqRynWHbv8wUUgMyk6K2pCvxhb.GF8DKeRFBfUZ4ybBkx2LPEsj9iSFzYq Xppj2a2tr0qioREagJq76wL4oJf.Qy6zqySnwKOptU8Lf.qAGuoQPmIGl7wB3VPJYwpa88XKp.23 ovnbzWH3yqZOA8wgvz7krrvQ35ZeoeC1Gbja7azeXj X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sun, 14 Nov 2021 01:12:12 +0000 Original-Received: by kubenode511.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 701a78ba757b9933de60f1fbcee11db2; Sun, 14 Nov 2021 01:12:06 +0000 (UTC) In-Reply-To: <838rxsxes6.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Nov 2021 17:21:13 +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.191.206; envelope-from=luangruo@yahoo.com; helo=sonic312-25.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." 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:279367 Archived-At: Eli Zaretskii writes: > On GUI frames Emacs takes the width of each character in pixels from > the font that is being used. So if you want each Chinese character to > take exactly 2 character cells of an ASCII character, you need to find > a pair of fonts that satisfy this relation. Because the font used for > ASCII varies between users, and the font used for Chinese probably > varies as well, I don't think I see how Emacs can solve this problem, > because Emacs doesn't understand the significance of each font. What he is trying to say, is that the height of the mode line adjusts itself based on the height of the characters inside. So, if your modeline contains (because you have such a file open in a buffer): =E6=B1=89=E8=AF=AD PDF =E6=A0=B7=E6=9C=AC=E6=96=87=E4=BB=B6.pdf Then it will display as taller than if it just contains: PDF sample file.pdf I personally don't find it annoying, but it is a common complaint amongst Emacs users in China.