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:36:01 +0800 Message-ID: <87fs3mbnem.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> 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="17599"; 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:37:10 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 1qfD8A-0004N2-KM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Sep 2023 07:37:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfD81-0001UY-KE; Sun, 10 Sep 2023 01:37:01 -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 1qfD7z-0001Kq-Hv for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 01:36: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 1qfD7z-00040n-8N for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 01:36:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfD82-0000un-FG for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 01:37: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:37: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.16943241923480 (code B ref 65803); Sun, 10 Sep 2023 05:37:02 +0000 Original-Received: (at 65803) by debbugs.gnu.org; 10 Sep 2023 05:36:32 +0000 Original-Received: from localhost ([127.0.0.1]:48788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfD7X-0000u4-VI for submit@debbugs.gnu.org; Sun, 10 Sep 2023 01:36:32 -0400 Original-Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:45902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfD7T-0000to-Hz for 65803@debbugs.gnu.org; Sun, 10 Sep 2023 01:36:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694324178; bh=NTiBOJk5KpuyIo8BCtq5mRJo6TiuHVOuoovINIoJWS8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ZxSTMiATp0GqozRkbceyCjOHbwXaIgCmljpTiMwZzjqaqzbTMwg5HWMyaE1PwS6mrBQ+GQ6dpbMoxR7A+DAJuN+h5x+4gq+av92AkdaKlNBYCGMrW/lQ1Tj6/bzzB8J4/X7x+uN1L2GLENH7TcRjjpL3LcHOG2eMwa8Su+TZRZM3JnTjV23WAx2EUXXrB9FtnLUyeDXQKUIPp8Y5aJFgsVKUW4ilkm8vaf9lvAbSpPEXVDLpvsFqcGhnXRdG6W4z5HI1ukaJ25Wridcf27lG6MGO00UG+AeYF1YWfWXzwT4Rmz4OpEkYgQIKkz7GA8nKalPTZFT8BpdENkKmldeIog== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694324178; bh=xOqmqNF2TcixW0xi60gVZLCb5HsYBsMBHQXPRS6lE7s=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=uCHTK4JJrbtaFOTHNHzPgpBJGeAWM+ab0kEXRhmR/oreH6qDhnF9uKnGtN9rJc/tioWZNXgqpXOfCo5uhTB3lrl5eZzvHuXSdpzRP47YuF0NePYtfJM+ZXf0NjkeRujRuFYnRPD0wMhbUE1VEbJp7jA4juBFfTDYvYTOFjNwD9G/TtT/Od2YqsbbNAnSIb5VGEdB2qxHWwyuzfpK2CgXPVKminp8gp0Cb/EEI6VX06L1CedxJCGKIZOho6LVsIxT/VCnIixez2gwBZK7Rm+IWIyU/CO9iWqzw0xheS5A0LTrO5cKSRKtW3RoFJ28biY5LOSH0TvV/AotQp8g6Pwz9A== X-YMail-OSG: 0.572Y4VM1lxpNBYD_5LXiBYi7cQNV3hZ4XnuC.nx_I5Yf.trxNcn0cnVLVQ4FJ KStO_6XEm7MVc7AOuJh21v_T9UjGBgDPY4by5OPtIhLcJLYLO8C0SHR1VhclZ1YDknvnQ9LNA41z 7N4xhYP8JKMWa_lu90Y2Jvd4vXr1_UEqoMt28aiQRGLLwK9yg32zo62OEde2D.P.z_GdI.3zdbZ8 WyaYL4KKfVSMK2MoAXwp.IvRs92FM7_AgdjNwV3TXO3ciAuP_kZfWtLMprCRgET9u2suZ49eYUd0 pp5AR0m36IWbksmjsaOSLZGKs6WTblJd24eudXQS8Uknm37gh.c1eX6Uyaj186cj6.i.qfUWka3d NHxDK9asmUueOti0MzINHPQdRlbo6QK9m_inTWh6XKt9JyESg0VrFsy9Aum1rj5Zva95MdfeK2ry cLpa4_NYVvqON.3NvEL7skLAnL_g9xIkGmgT5IiY2hPK5VyNW2qOvnlgcpidPGSF_VrQlEEyc9dN v_7nY3ytJPM36QyT4XtqSTNgsEThTaz4R8g3Gafkw12C.wxXN2QUgB0BnaQGR6hHIlgyHXmn6pdv DDW6XWUroqQAvHjFFSOQAiLAJs7IOf964KOmktnFRhT1oB1WcvfRRJAZmY4CnyUbD4_WNlJaW6by BVkVEylNpXvOmh2hgNLzHIfzPD67EXkyEqHs1fAFDf0WQCJewrPjQGUugZg_a_0UWKEhXK1cKhJ0 y2afVjHI.xEaFr8texBJg.dG.XtO5plZN4fG3Jq9m5InJXHKlsihnQ8p7NNggbkRF8MCKlHUVzwW xaCenB_2DFvY5t4WU2152GeefC_G6.jgetiYP7C3bh X-Sonic-MF: X-Sonic-ID: 1567361b-d3b8-4d8c-b2d5-1bd5e8f270b3 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sun, 10 Sep 2023 05:36:18 +0000 Original-Received: by hermes--production-sg3-69654d8bd-cdvp5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f98dcd5e64ee7d60c25085c9a5a405cc; Sun, 10 Sep 2023 05:36:13 +0000 (UTC) In-Reply-To: <834jk2txe6.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Sep 2023 08:22:57 +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:269912 Archived-At: Eli Zaretskii writes: > AFAICT, we never use this for anything but FRAME_COLUMN_WIDTH. So > when you talk about "average width of ASCII characters", I don't think > I understand what is that property, since we never call it like that > and never use it for ASCII characters. That is the purpose of FRAME_COLUMN_WIDTH, and also what it is set to in every font driver except for the MS-Windows one, which is the only backend to consult the font's own average width information. > I don't understand what you are trying to say here. Who suggested to > calculate the value of the average width for each glyph in the font at > load time? My point is, we don't need a new property; the W32 port should simply compute font->average_width using the widths of each ASCII glyph, disregarding tmAveCharWidth.