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#57962: 29.0.50; Odd font choices Date: Mon, 17 Oct 2022 20:58:58 +0800 Message-ID: <87sfjmk3n1.fsf@yahoo.com> References: <87edw5adz1.fsf@gnus.org> <87h711ii4m.fsf@yahoo.com> <871qs59fds.fsf@gnus.org> <87tu46aazr.fsf@gnus.org> <83h7068v7g.fsf@gnu.org> <878rlia9a0.fsf@gnus.org> <83czau8tu7.fsf@gnu.org> <87r0za8tbf.fsf@gnus.org> <83a65y8srh.fsf@gnu.org> <87ilkm8sha.fsf@gnus.org> <837d128sbf.fsf@gnu.org> <874jw4jar9.fsf@gnus.org> <83tu443tlo.fsf@gnu.org> <87v8okhsg8.fsf@gnus.org> <83lepf50zn.fsf@gnu.org> <87czaqg4cn.fsf@gnus.org> <83bkqa3g20.fsf@gnu.org> <87czaqel7x.fsf@gnus.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="32604"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 57962@debbugs.gnu.org, stefankangas@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 15:01:41 2022 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 1okPkR-0008JG-DP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 15:01:39 +0200 Original-Received: from localhost ([::1]:32900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okPkP-0002T1-TN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 09:01:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okPit-0002RK-RS for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 09:00:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okPis-0005mb-Uh for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 09:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okPis-0007sJ-QX for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 09:00: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: Mon, 17 Oct 2022 13:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57962 X-GNU-PR-Package: emacs Original-Received: via spool by 57962-submit@debbugs.gnu.org id=B57962.166601155930165 (code B ref 57962); Mon, 17 Oct 2022 13:00:02 +0000 Original-Received: (at 57962) by debbugs.gnu.org; 17 Oct 2022 12:59:19 +0000 Original-Received: from localhost ([127.0.0.1]:47763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okPiB-0007qT-3D for submit@debbugs.gnu.org; Mon, 17 Oct 2022 08:59:19 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:44337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okPi9-0007qE-Es for 57962@debbugs.gnu.org; Mon, 17 Oct 2022 08:59:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666011551; bh=sc1TPMCPu+09HcNLNKyAu3OYMp6OrbfhxDZfViGQ46s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=XsOYU9f6nAV2kSt9hC36mqKgoEf7GfHB9X0wG3Yu2CJwU6n5bfe8MqGxXIln36JhYYiK+9vDkXyl99TI4XbbczhlMYg/NmoPpnKyWHKHgoCeb+wUDUIVRRhHzSBlWn6L0bxyzwNMamEH3DFgPc1a45/9SWY44rbsv0J2SmYZ+hzrONod63yAlWzR2pjKRa3ba1fJyRolON5vGBpzyzUMp+f3Yr0+RvGBcQuxmibfNMClaeHRubCPIKb8Arsqyi10L/BIqy5W8HvRGcF8e5fk7AJawzbwhBZ5ZzbKLRMK255BifR01uBEhLobB0ud6aa4Pn/EFfcmvG6H4tVjztFijA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666011551; bh=ubjJj0K94yxc0T0wxjy/6loWeWrRnIwt35B9bhbUnai=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=lca5J0alyxuPsTjysQ88MIWiu+E/stW5rLN2Fsw95gvd19Cad4dkomR6JgJc8YsaAkq3cFDF0JEhe1nAilTPETd28plszktctl/N/evUTNNs0eUNo05Nx1sqoMroEbSKzIyj+8yUspqJ4m/myqalTO4+F5poDyRBm3FKC/W6SrrU6lWZy1debikvWGhomF5fu20KwgDIl/XE0KcgkogSJZx50v/eYkvg/BNracY3Dgc+HVtcWLfeNtxfQ+jdyb7WiTnRJfQNJAzwAy28yTBvhxbL5GcJfF8LymOgCcBAGoua8ZyXLkm7PBxguqwNg1Gxc0bhY26XCiVGfSwL/gqsDg== X-YMail-OSG: ggynqrAVM1nTvKnL5icQOl7Me_Kb2cQn93SsIJb_JGoDDYkNTHg8Bn2qsrRUxJD CVkWGl7b5zIoLg.NTk8DktDs1nxMVkvHuWonfvoQ_hfGYsPNbEGyHUNEirUP7Vl0Vl1SR7nzprCt A43FavI73czz92Z_VAHH7Z9oyYbm17RxtLLh8PGV.jOUc86w2Ug4VHG0HiY.cXRBL.msfJ_CUxSM aVr445CV26JBiU936yD5dtIU5oIaoo1ZndCbQgpb1GjW7TxejELkQyhOXGRcE2IXunKgeASQZHYD t9TQUlWgBSBV5i.pmk1Po59TXJVvNVmALofsbOQVKgVhglJuSPkFZ2bGMRLeTxMPJi1jcpY_8kHI UNjJoMXnRyB7VavTp01vS7aK._ftkzu3xjdqQJg8uY_g_daDfJe9O8j4L2mHKlyL8Vi9.DCXSUj6 RQiWnl_yw_pMyuR8kJMJmxiOVFfucLfiugwNn06lsZOSaOQI2nW.TwMRKbsbrqxQnTh8RJQu3ApG Igz1zK4l61GYHhwIa2gYUWaGB.RDZjH1yuaf8OarVL1N33qwLwD3D0U2YgLu_suRj1Q0oNchaagR RyQeYbf.KzI9aYo1246i_rjCmr9asJ.Lzp9dUbz7ABUEaWL7j.boQ.X7fjQ_d89gRMkhP7.t0ZaO Ff59Kio3eroeLOALUVJ8aSCcrytKkP6tp_qTq8l.RSJHdejMAjlLx6YLJczdq8KV43zPMBh.mPXZ e9N4e.rhR9Uwguewo0jLDB9FuXjgaZRfmY7stA5XZlJRDAE90xO2T2Hl2zfvGlAnzCUhuJqgIi6Q nOO5GfT636DYgSJhxLOX0bF1pSLlo4Ijtvh2MolAC_ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 17 Oct 2022 12:59:11 +0000 Original-Received: by hermes--production-sg3-785466d859-7l8f2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 578480f29371975d94c16ce09c74c7c8; Mon, 17 Oct 2022 12:59:04 +0000 (UTC) In-Reply-To: <87czaqel7x.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 17 Oct 2022 13:35:46 +0200") X-Mailer: WebService/1.1.20740 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" Xref: news.gmane.io gmane.emacs.bugs:245729 Archived-At: Lars Ingebrigtsen writes: > Eli Zaretskii writes: > >> Maybe with "fixed-*" fonts this is so. But isn't True Type fonts >> scalable, so that we can request any size and get what we request? > > We can request "size 12", but how big that is varies greatly by font, > unfortunately. The font people haven't standarised this -- because of > the origins of font tech, and that "optical size" can vary even with the > same physical sizes. So it's a mess, basically. > >> Is that because ":spacing 'm" doesn't work (it seems to work for me)? >> If so, I think we should try fixing that instead of introducing new >> wizardry. > > This: > > (defface fixed-pitch > `((t :font ,(font-spec :spacing 'M))) > "The basic fixed-pitch face." > :group 'basic-faces) > > Made Emacs choose this font: > > ftcrhb:-GOOG-Noto Sans CJK KR-regular-normal-normal-*-45-*-*-*-*-0-iso10646-1 (#x24) > > Which is not a monospace font (and is a different font family than the > `default' face uses: > > ftcrhb:-DAMA-Ubuntu Mono-regular-normal-normal-*-45-*-*-*-m-0-iso10646-1 (#x47) > > So that seems to be another bug in this area? > > I also tried this in Emacs 28 and earlier, and it does nothing there, so > it's broken in a different way on master than in Emacs 28. I don't see that here, could you please try to bisect to the change that causes the bug? I suspect one of the changes to xfaces.c that happened a month or so ago, so if bisecting isn't convenient for you just try reverting xfaces.c to progressively earlier revisions and see where (and if) that bug disappears.