From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65803: 29.1; Noto Sans Mono CJK JP has doubled-width on Windows Date: Sun, 10 Sep 2023 13:55:47 +0800 Message-ID: <877coybmho.fsf@yahoo.com> References: <83bkeeytwf.fsf@gnu.org> <838r9iyrky.fsf@gnu.org> <835y4myqtb.fsf@gnu.org> <83jzt1xju6.fsf@gnu.org> <83wmx0x3hj.fsf@gnu.org> <87wmx0dbn6.fsf@yahoo.com> <834jk3v8ux.fsf@gnu.org> <87wmwzbh5z.fsf@yahoo.com> <83pm2rtmvz.fsf@gnu.org> <87o7iac05e.fsf@yahoo.com> <834jk2txe6.fsf@gnu.org> <87fs3mbnem.fsf@yahoo.com> <831qf6twid.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28396"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65803@debbugs.gnu.org, shingo.fg8@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 10 07:57:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qfDRg-000730-5z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Sep 2023 07:57:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfDRN-0001pF-Qh; Sun, 10 Sep 2023 01:57:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfDRL-0001p2-9f for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 01:56:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfDRL-0007Ls-1w for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 01:56:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfDRO-0001es-8M for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 01:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Sep 2023 05:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65803 X-GNU-PR-Package: emacs Original-Received: via spool by 65803-submit@debbugs.gnu.org id=B65803.16943253686316 (code B ref 65803); Sun, 10 Sep 2023 05:57:02 +0000 Original-Received: (at 65803) by debbugs.gnu.org; 10 Sep 2023 05:56:08 +0000 Original-Received: from localhost ([127.0.0.1]:48810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfDQW-0001do-5O for submit@debbugs.gnu.org; Sun, 10 Sep 2023 01:56:08 -0400 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:39020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfDQU-0001dK-DI for 65803@debbugs.gnu.org; Sun, 10 Sep 2023 01:56:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694325357; bh=zs5zvvbvk6GyKW5ayLnbO2YaAGCEt0/5LqK2EXRWYYU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=RzHHIT/nmG3k8+SK+B7pwbqLburG+ft9j7wTiUUulaz6O8Bz0BOtGIvVA2IYyjbkYaIZq095rU3yYKyQ9L9BpKTwMRidEDnM6S10qp3ZwaaP95f+u4E10Zj3ZRjM7mxlwX9pe7SzP2tdeAxCQRdjI2gkoR7eFJq5/3UBTSodNoi5a2jKOWjnVhrHX0Y46Srn8UAigSt7dlk1V2PYB4EHf2JvqEH2P6k3zPx6UL7zw7XfMJp2OvhnaN/SNn1CufGx/zTZIt4SDKQhMX929CQ6lwoZEjL1Z5aRod4U4Sl39M8TX0+uURY7yemk3LWv0jiRR9uRquXBH/7W3BmdIix6sQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694325357; bh=d9oFRy+PdlhQbsgrZqI3Bx+hX3ntU30AJOvrR6/OllQ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=mRKe7hCaYyuUOwHljvAI7Rr/4G2z2LApdMul6NVsxxA3fhFjDvelNa+cWods9fKsly33IWuJrU25pek+A4b4DO/OQtrM6ZEDNedwP9Fj92l97L6FdlUIbiBztep/rJTOmpxWC+/1oXli36IQWHOUa1PLikNU/hiq4N8rd6hJChCVEO09E+QeqC4qQ3nnzyaMc0sdqBO1qWesRD49nUrZ8PeWlFIL+gmve7CWv37jb1w64hJIQcx0YnbvZtHgK5CVQZJwXrBSLpQbBhmZcPUyDv7WHoYTt4eZh3f4G+EnULtxIc+b2TQqpou/41I2gh4AZrz+9XqzPuo82jDDA6vPKg== X-YMail-OSG: jmNDwQQVM1mjUjcoRqiurD0UPkpr5znWqgkQ5MznGAlShnOYpJzgqzk1uWTFYla dMqX_Fw3oXoZkvY9epDm4fMPu2yDviHS7ssefrTC7Q8jxFuwx.wcxfQiBflh3BmzS9.Yb84qmfkV jqRQnCgEVsSnGlmXsASVfSh_2S43aVnpwseZWcjQxlx2ystMR1.7RtkEbxsDXonAjr3TNwU7H3nf ms9hOrAlVj0.8oT7Dyfj_oKb.U6THjIlYgZ1xagY3qEzsmo8U0higlUxzC2L6bmck.wzeoWtSYlU OUe36b1shRnzTOSBsOO3JOuwIGI6snveoF9EpPqnQBb4ez9New_YOvKXJcMLAg2f.J4njudZkZV7 9WlJHRc.8HMtWdiZ1jeU658jdaBh28GjX.uH7FhXobYW.ft.6fOZ7KoRnRZDWXAfTu5l8r1bQDEU RApIRjkhi8QYj70ljfYZp1xmB3BwYlGliAB3oRaXTwFJuRvxesC7Qr0jq5QlJsDmOB_MjGJ3cEu6 7GLiiqgNdRHshEAMrlURpcNj5UGrFxQjdqTBfW7QDBYAEKc6K_tDfk3foPsIahdIXn_eCLdN9SDp ppRVZTO8uYxnVPPW5aInBwd6aj2iBq4c37rrlcyt6ZghMoFu8uPQQO2dAG92K9xeHam1xiPVGKi9 g7AzGkGsulKCvdkzeg0ogkU4g6Fec8pOnrYuUbuRsQ3h_rKK6tSL3Fxa5C.NqPiiR1YvqGZkF050 7NcLp_ysaclAOMjLlfEMYWG8K.FodgxT_2q3uKWg5onzoqEomD7dGoRq36ju2_xB8966Jt5RQplx WXX9Lwf0kPzwptF3S_C0VHLpUH4D.iWffmF_V34e30 X-Sonic-MF: X-Sonic-ID: 02c8b32f-588d-4d40-8aa4-4fd216fea85b Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 10 Sep 2023 05:55:57 +0000 Original-Received: by hermes--production-sg3-69654d8bd-tsbjv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5706dacd59a96b414d364e013afaef66; Sun, 10 Sep 2023 05:55:52 +0000 (UTC) In-Reply-To: <831qf6twid.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Sep 2023 08:42:02 +0300") X-Mailer: WebService/1.1.21763 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269915 Archived-At: Eli Zaretskii writes: > No, the purpose of FRAME_COLUMN_WIDTH is much more than just "the > width of ASCII characters". It is used as the canonical character > width of the frame, for gazillion purposes. One example which > triggered this bug is :align-to display spec, something utterly > unrelated to ASCII characters. However, the column width has hitherto been defined to the average width of the frame font's ASCII characters. At least outside W32, that is. > But other font back-ends don't compute average_width for fixed-pitch > fonts, so are you only talking about proportional fonts here? I'm talking about fonts in general: since fixed pitch fonts are meant to incorporate uniformly sized glyphs, the width of the space glyph should represent the average width of any subset of the font's glyphs. In this particular case, Fontconfig doesn't deem the font in question a fixed pitch font, and thus Emacs measures the average width of each ASCII character itself.