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#37473: 27.0.50; antialias setting is not preserved by, inheriting Date: Mon, 20 Jun 2022 08:49:19 +0800 Message-ID: <87wndcxipc.fsf@yahoo.com> References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.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="24281"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: David Ponce , larsi@gnus.org, 37473@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 02:50:14 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 1o35cK-00067y-QL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 02:50:12 +0200 Original-Received: from localhost ([::1]:53314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o35cJ-0002eG-Ej for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jun 2022 20:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o35cA-0002e2-9u for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 20:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o35cA-0003qO-1H for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 20:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o35c9-0003I9-Td for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 20:50:01 -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, 20 Jun 2022 00:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37473 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165568618012621 (code B ref 37473); Mon, 20 Jun 2022 00:50:01 +0000 Original-Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 00:49:40 +0000 Original-Received: from localhost ([127.0.0.1]:53526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o35bo-0003HU-0Z for submit@debbugs.gnu.org; Sun, 19 Jun 2022 20:49:40 -0400 Original-Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:36531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o35bl-0003HH-V0 for 37473@debbugs.gnu.org; Sun, 19 Jun 2022 20:49:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655686172; bh=Tv3vR3TJvqbM7qfVCIEgOttQvYgAyy69C1E7AE36Pmg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=FCy0x2p3Z3g7dVYCY9OTp+9iaJr7q/e5YPzfPcYzEWnOr5liePM+jSX+3akCHgh1Ow7UGh0q6yqWZUp9gWx3dey4qqUxcP73uZcoUsuDD/tFXINUOADIXB4rQ6+84USvBpLgZfVifLWosJA+YWmwots0f4j+l5hO6k+VhAvvWWL1q9KyCawmRzB6Arh92rVG52CFkn6F87Qm3KNG2+y+MDiB33mW+VlNjuWoMNSYBUkmFKpVqw3lQHXDNuav1sevYHoPoajNRxHge2eo2Sb8/4Ls1/yfoSrBvJhhhVWIa1xcrymV5Ps0e1+JmiS3NWzB+cNnhw4s0mQc53Lz27+Q5A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655686172; bh=976h0MFNQ/8XNQsVfHL8qJAAtd15718bU6PqLEHW9r7=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=t4b5P6RvAursVzIzsSdmGKxQHMW59x6NRvPFGHo/g2M/aSvSYL8w+TUStPtcDo5NbjDYJChni5XiVaU7ogVEBmYyweTk3c+mCvI5ED9JI2R4YI5g6ZQTpyWpt+Msh7W5t/vAEM5a5t1GIQJIdt5Yg0oi+RyUVebvuXkxbUsx3q/R2699IAtb0xhFpTh+0UffMEQFIdZyUQqsrdAsnmk/WR8Qnv8GYd7O3ymzzEaWBF2N7UgqfHREPNnj61xM4PKSmQr9muBb079crmIVv4xKhKreE5v9yaHH2CLpGstMEykkRx9TJxu7cM2XHUgPK10u4DiiFzoUw7LZ1Gh4yijJ1A== X-YMail-OSG: JH77yH8VM1n7G85oZwVUfHGbtny2btv7a1D9DoW2p7iALumgDnzPR8at8woxUpc pStvN9pYrdEYnM51FAzFqpzqkHuP8RtVefTVhm8h2J.6h6ziXpg1j0yVVLhQxc_DeX7nE0PBxn8E EywB7JNYo70408WG9y4c3Be0shyOHWzHch4I40hWab43T5BBzh50xmAdcKYUqwYD7d761gSNBzpT ThD0gcjFQczz4r7KOh.GRq2DNneQIVJp.mFdMgdq7o9Ik4UnPRl_.RTyTTi6Ek5e5CmCpuKK7E8h S16Cb.jHszGR1MdtshexMgc_Fe_9efR8lz9XvePY43d5jPjtBw0A_Whd.6U7YG2BU7MSpwGd.tXK BrdAXNQ_KzI3lwcL1wnSyH39a5SsVAI.HmpeRioWUHMJ8SJljPa6Eu24KXahnJVLiSUg13vOMGrx we3fMNd3Vdt1xW6PJQGB_X7.Xnuqd86zSKtKZYajVv1iBJ1uiK.Nmgw8ODBs_CBfFOxAexPMdyq. wGd6thURnyjVK29R9xzx512gc0g0bxP28J6xsg2K6jzs6x7iTe7i5I8fdM3lT6nUXMJtExmrZqEm YKcLFYlbZXrLAMvsvrh_EM.xuRbgiYwT_Xg8WUuy2UFi7fqaNFYRZtNPk9ujnR7_yYySZRKeFZV7 rr_ku.V0R9EIpN0DDI..0O6Pwbn15MPvyCn2xzk_YQvOU2bRU8JUxCIOWfynHm8cWOHXiR.NIULy u1aMDnx_3iRZ8w6OtxRHhQuMwlM1oGI9JBvoK_m1lRm91lRGkx6Xg1vrUdZswv0hRst8zulQb7pw X6SRl9GJxddLIG2OGBvmU_SYONugGORaJcTmsqtDI2 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Jun 2022 00:49:32 +0000 Original-Received: by hermes--canary-production-sg3-559fcd5995-8w55k (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 899bdb5971620f83cf2d6b783c981331; Mon, 20 Jun 2022 00:49:25 +0000 (UTC) In-Reply-To: <83k09cmpn6.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Jun 2022 22:14:53 +0300") X-Mailer: WebService/1.1.20280 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:234831 Archived-At: Eli Zaretskii writes: >> Cc: Lars Ingebrigtsen >> Date: Sun, 19 Jun 2022 18:43:33 +0200 >> From: David Ponce >> >> The below related today's commit to xface.c breaks antialiasing: >> >> From b2d11d69dd49864874f8fe53669b4049e83bfce9 Mon Sep 17 00:00:00 2001 >> From: Po Lu >> Date: Sun, 19 Jun 2022 21:57:11 +0800 >> Subject: More conservative fix for bug#37473 >> >> * src/xfaces.c (realize_gui_face): Add more conservative fix, >> since the last change makes C-x C-+ lead to weight weirdness on >> my machine. > > FWIW, I understand neither that commit nor the one it attempted to > fix. I didn't either. My goal was to fix C-x C-+ causing a font with an incorrect weight to be selected, by only preserving :antialias (as opposed to everything aside from foundry, family, registry and adstyle.) The fix should definitely be rewritten. > IOW, do we really understand the reason for bug#37473? Not the commit > which introduced it, but the reason why :antialiasing is being reset > and doesn't appear in attrs[] and in the realized face? If so, could > someone please spell that out? I think the person who wrote the font code is the only person who really understands it. Is Kenchi Handa still around?