From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by inheriting Resent-From: YAMAMOTO Mitsuharu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Sep 2019 04:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37473 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 37473@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156903960430093 (code B ref -1); Sat, 21 Sep 2019 04:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Sep 2019 04:20:04 +0000 Received: from localhost ([127.0.0.1]:58917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBWsO-0007pJ-72 for submit@debbugs.gnu.org; Sat, 21 Sep 2019 00:20:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:34509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBWsL-0007on-A8 for submit@debbugs.gnu.org; Sat, 21 Sep 2019 00:20:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36500) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBWsJ-0008Lg-UL for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2019 00:20:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iBWsI-0008QL-H3 for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2019 00:19:59 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:63673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iBWsI-0008O2-2e for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2019 00:19:58 -0400 Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 5C923F08FA for ; Sat, 21 Sep 2019 13:19:53 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) Date: Sat, 21 Sep 2019 13:19:53 +0900 Message-ID: From: YAMAMOTO Mitsuharu User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Steps to Reproduce: 1. % emacs -Q -fn monospace:antialias=0 & As expected, the normal text in the *scratch* buffer is not antialiased. But the bold text in the mode line is unexpectedly antialiased. 2. C-x C-+ Observe that the scaled text in the *scratch* buffer is unexpectedly antialiased. I found that it used to work (i.e., antialias setting was preserved in bold or scaled text) before the following change: commit bf0d3f76dcfe7881cb3058169b51cf6602fdcdcb (HEAD) Author: Kenichi Handa Date: Sun Jul 20 00:18:23 2014 +0900 2014-07-19 Kenichi Handa * xfaces.c (realize_x_face): Call font_load_for_lface with no mandatory font spec (Bug#17973). 2014-07-19 Stefan Monnier * font.c (font_score): Return the worst score if the size of ENTITY is wrong by more than a factor 2 (Bug#17973). YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin16.7.0, X toolkit, Xaw3d scroll bars) of 2019-09-21 built on YAMAMOTO-no-iMac-5K.local Repository revision: 87b7c069583ddccae89791b2389bd872a49bc1b0 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Mac OS X 10.12.6 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --without-ns --with-jpeg=no --with-gif=no --with-tiff=no --with-gnutls=no PKG_CONFIG=/opt/local/bin/pkg-config PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/X11/lib/pkgconfig:/usr/local/lib/pkgconfig PKG_CONFIG_LIBDIR= CFLAGS=-g' Configured features: XAW3D XPM PNG NOTIFY KQUEUE ACL LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM THREADS PDUMPER Important settings: value of $LANG: ja_JP.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 46279 5949) (symbols 48 5916 1) (strings 32 16004 1573) (string-bytes 1 507230) (vectors 16 9815) (vector-slots 8 200586 9608) (floats 8 19 39) (intervals 56 216 0) (buffers 992 11)) From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by inheriting Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 10:43: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: To: YAMAMOTO Mitsuharu Cc: 37473@debbugs.gnu.org Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.16530433767083 (code B ref 37473); Fri, 20 May 2022 10:43:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 May 2022 10:42:56 +0000 Received: from localhost ([127.0.0.1]:37666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns05v-0001q9-RA for submit@debbugs.gnu.org; Fri, 20 May 2022 06:42:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns05t-0001ps-DQ for 37473@debbugs.gnu.org; Fri, 20 May 2022 06:42:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RdTNJmDiXpf2jpjtZ4UU/O0v4Z5y/Cm5/MXRPnw1SJk=; b=SRKdZUSb2MGC3J+awrrsrpq36V Q6izDIBYMUuB/5iuMrQ7Vtm+5GM/w+D/ED8JQNTiKjZvIpWCj0DMUrwDUL5tJKhSX9WBsIuTZ+J1n eO97yIyNLlA9aE5k8mYUnz4OPJHtLg4ZAntkgu/meFMD2pSc1e4soTQdyUrwxiKLqhyg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ns05j-0006h3-Bg; Fri, 20 May 2022 12:42:46 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: Bel Kanto's _White-out conditions_: "Upland" Date: Fri, 20 May 2022 12:42:42 +0200 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Sat, 21 Sep 2019 13:19:53 +0900") Message-ID: <87r14o4h99.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: YAMAMOTO Mitsuharu writes: > 1. % emacs -Q -fn monospace:antialias=0 & > > As expected, the normal text in the *scratch* buffer is not > antialiased. But the bold text in the mode line is unexpectedly > antialiased. > > 2. C-x [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) YAMAMOTO Mitsuharu writes: > 1. % emacs -Q -fn monospace:antialias=0 & > > As expected, the normal text in the *scratch* buffer is not > antialiased. But the bold text in the mode line is unexpectedly > antialiased. > > 2. C-x C-+ > > Observe that the scaled text in the *scratch* buffer is > unexpectedly antialiased. I can reproduce this in Emacs 29, too, and diff --git a/src/xfaces.c b/src/xfaces.c index 7395ce157e..1939a73d5e 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5950,7 +5950,7 @@ realize_gui_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE] } if (! FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) attrs[LFACE_FONT_INDEX] - = font_load_for_lface (f, attrs, Ffont_spec (0, NULL)); + = font_load_for_lface (f, attrs, attrs[LFACE_FONT_INDEX]); if (FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) { face->font = XFONT_OBJECT (attrs[LFACE_FONT_INDEX]); Fixes the issue. But that would bring bug#17973 back, I think. What we want to happen here is, I think, that we want the "initial" font spec (which would here just be family monospace + antialias, and not the entire font spec that we initially realised? I think? Is it immediately obvious to somebody how to achieve that here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 06:43:01 2022 Received: (at control) by debbugs.gnu.org; 20 May 2022 10:43:01 +0000 Received: from localhost ([127.0.0.1]:37669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns05z-0001qR-2y for submit@debbugs.gnu.org; Fri, 20 May 2022 06:43:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns05w-0001pz-8r for control@debbugs.gnu.org; Fri, 20 May 2022 06:42:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=T5B1Wkp1upEQkzQHMixG9yxbrOIlkgrgBa8HwM/KlCI=; b=Q0WPDeNOCyMU1UCwuM8U8LDfxG oaHvsDchy4a05WrCZQN2mX4znxO2P8nV+R7BIk7Su68c4w3vvwCDpsGlCAuIQT9Ux+gBCdEhVw6in F0F4pvu2+f19dmv0mFx8WomiXqx/MVt11ViEzMcnpRh1usmX3teES3200l2FkBLIUkNQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ns05o-0006hA-H9 for control@debbugs.gnu.org; Fri, 20 May 2022 12:42:50 +0200 Date: Fri, 20 May 2022 12:42:48 +0200 Message-Id: <87pmk84h93.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #37473 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 37473 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 37473 + moreinfo quit From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by inheriting Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2022 13:03:02 +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 To: YAMAMOTO Mitsuharu Cc: 37473@debbugs.gnu.org Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165564377811029 (code B ref 37473); Sun, 19 Jun 2022 13:03:02 +0000 Received: (at 37473) by debbugs.gnu.org; 19 Jun 2022 13:02:58 +0000 Received: from localhost ([127.0.0.1]:50846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2uZu-0002rp-Cy for submit@debbugs.gnu.org; Sun, 19 Jun 2022 09:02:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2uZp-0002rY-LU for 37473@debbugs.gnu.org; Sun, 19 Jun 2022 09:02:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Md0+WB0iVmuHuRiIsKkMYS6+Ss3H8RqCArRLmISuh2U=; b=C6zpvzw1OIvzOmVjwP2r1BKibC ITuqpYmkAKUGxJ56nIOeVyyFmmH2AJXpnVNWkCxuel4IV1qx4Y59xCXO8zTWoP5MByzA1yAOQjlkx PuauN/r/g30RALSw4NJg+qRdab+1EVyZl8etSd+axY1JGAcNxowEFqPWxhROubYqEqZg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2uZe-00061W-MF; Sun, 19 Jun 2022 15:02:45 +0200 From: Lars Ingebrigtsen References: <87r14o4h99.fsf@gnus.org> Date: Sun, 19 Jun 2022 15:02:41 +0200 In-Reply-To: <87r14o4h99.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 20 May 2022 12:42:42 +0200") Message-ID: <87sfo0x0um.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > What we want to happen here is, I think, that we want the "initial" font > spec (which would here just be family monospace + antialias, and not the > entire font spec that we initially realised? I t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > What we want to happen here is, I think, that we want the "initial" font > spec (which would here just be family monospace + antialias, and not the > entire font spec that we initially realised? I think? > > Is it immediately obvious to somebody how to achieve that here? I've now fixed this in a rather cumbersome way in Emacs 29, but if anybody has a better idea here, please go ahead and re-fix. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 19 09:03:05 2022 Received: (at control) by debbugs.gnu.org; 19 Jun 2022 13:03:05 +0000 Received: from localhost ([127.0.0.1]:50850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ua1-0002sX-LS for submit@debbugs.gnu.org; Sun, 19 Jun 2022 09:03:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ua0-0002rx-F8 for control@debbugs.gnu.org; Sun, 19 Jun 2022 09:03:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JbroLTbljNPAnhIB1FsNm1z4lkTR2zHUjZmGOPl9Z0g=; b=nfMImw9eHVqISGxkxHn+kt3zkQ voYlsZTeFq8bKOjhfZanMjI7Ftp8ZZ78jybUi63OauQqooAzSkynsjKvBYZyu5CBKCj0nXwlMi4bN QZiusO66Vgfe2V/Hryo0zbSfa/jdIVP36dylGlML1RfPl6h0MzLABx6cpbHWRgobWDvI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2uZs-00061f-Hn for control@debbugs.gnu.org; Sun, 19 Jun 2022 15:02:58 +0200 Date: Sun, 19 Jun 2022 15:02:54 +0200 Message-Id: <87r13kx0u9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #37473 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 37473 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 37473 29.1 quit From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting References: In-Reply-To: Resent-From: David Ponce Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2022 16:44:02 +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 To: 37473@debbugs.gnu.org Cc: Lars Ingebrigtsen Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165565701720045 (code B ref 37473); Sun, 19 Jun 2022 16:44:02 +0000 Received: (at 37473) by debbugs.gnu.org; 19 Jun 2022 16:43:37 +0000 Received: from localhost ([127.0.0.1]:52952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2y1R-0005DF-2U for submit@debbugs.gnu.org; Sun, 19 Jun 2022 12:43:37 -0400 Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:62764 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2y1P-0005D6-Gv for 37473@debbugs.gnu.org; Sun, 19 Jun 2022 12:43:36 -0400 Received: from [192.168.1.15] ([2.7.231.82]) by smtp.orange.fr with ESMTPA id 2y1NotP4LJXxR2y1NoWpo8; Sun, 19 Jun 2022 18:43:33 +0200 X-ME-Helo: [192.168.1.15] X-ME-Auth: OWU0YmVhODllOThlNTBiMTcxZWVkMmNjZmQ4ZWZlMmRlNQ== X-ME-Date: Sun, 19 Jun 2022 18:43:33 +0200 X-ME-IP: 2.7.231.82 Message-ID: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> Date: Sun, 19 Jun 2022 18:43:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: fr From: David Ponce Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, 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. --- src/xfaces.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/xfaces.c b/src/xfaces.c index 4242205..25b5e4d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5909,7 +5909,7 @@ realize_gui_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE] #ifdef HAVE_WINDOW_SYSTEM struct face *default_face; struct frame *f; - Lisp_Object stipple, underline, overline, strike_through, box; + Lisp_Object stipple, underline, overline, strike_through, box, temp_spec; eassert (FRAME_WINDOW_P (cache->f)); @@ -5953,17 +5953,18 @@ realize_gui_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE] if (! FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) { /* We want attrs to allow overriding most elements in the - spec, but we don't want to start with an all-nil font, - either, because then we lose attributes like - antialiasing. This should probably be fixed in a - different way, see bug#17973 and bug#37473. */ - Lisp_Object spec = copy_font_spec (attrs[LFACE_FONT_INDEX]); - Ffont_put (spec, QCfoundry, Qnil); - Ffont_put (spec, QCfamily, Qnil); - Ffont_put (spec, QCregistry, Qnil); - Ffont_put (spec, QCadstyle, Qnil); + spec (IOW, to start out as an empty font spec), but + preserve the antialiasing attribute. (bug#17973, + bug#37473). */ + temp_spec = Ffont_spec (0, NULL); + + if (FONTP (attrs[LFACE_FONT_INDEX])) + Ffont_put (temp_spec, QCantialias, + Ffont_get (attrs[LFACE_FONT_INDEX], + QCantialias)); + attrs[LFACE_FONT_INDEX] - = font_load_for_lface (f, attrs, spec); + = font_load_for_lface (f, attrs, temp_spec); } if (FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) { -- cgit v1.1 The below marked line seems not correct. According to the previous condition "if (! FONT_OBJECT_P (attrs[LFACE_FONT_INDEX]))", it should always be false, so the antialising attibute is never preserved: if (FONTP (attrs[LFACE_FONT_INDEX])) <===================== Ffont_put (temp_spec, QCantialias, Ffont_get (attrs[LFACE_FONT_INDEX], QCantialias)); Thanks, David Ponce From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2022 18:29: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 To: David Ponce Cc: Lars Ingebrigtsen , 37473@debbugs.gnu.org Reply-To: m43cap@yandex.com Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165566331530654 (code B ref 37473); Sun, 19 Jun 2022 18:29:01 +0000 Received: (at 37473) by debbugs.gnu.org; 19 Jun 2022 18:28:35 +0000 Received: from localhost ([127.0.0.1]:53163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2zf1-0007yM-Da for submit@debbugs.gnu.org; Sun, 19 Jun 2022 14:28:35 -0400 Received: from forward501p.mail.yandex.net ([77.88.28.111]:51874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2zev-0007y0-Vd for 37473@debbugs.gnu.org; Sun, 19 Jun 2022 14:28:33 -0400 Received: from sas8-6461c81dc980.qloud-c.yandex.net (sas8-6461c81dc980.qloud-c.yandex.net [IPv6:2a02:6b8:c1b:2a09:0:640:6461:c81d]) by forward501p.mail.yandex.net (Yandex) with ESMTP id A96F262126F3; Sun, 19 Jun 2022 21:28:22 +0300 (MSK) Received: from sas2-eda296917d2e.qloud-c.yandex.net (sas2-eda296917d2e.qloud-c.yandex.net [2a02:6b8:c14:251e:0:640:eda2:9691]) by sas8-6461c81dc980.qloud-c.yandex.net (mxback/Yandex) with ESMTP id rp1P6suS1f-SMgal7sl; Sun, 19 Jun 2022 21:28:22 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1655663302; bh=mT4d+fLjLl2QBCBLLUbjfNS+8g5PId8DaIGmnzgsTWA=; h=In-Reply-To:Subject:Cc:Date:References:To:From:Message-ID: Reply-To; b=Ge0JkdSYdtl/uN7EnlBIIkuimcXqN44on36fjETBL0rCIol2Yo2QdZE4tQaa9UvnD nBPqOta2lP5JOqYZzv4E5cV0niql1OPQ/3hLisArqWou+1pIkC2a2A+zYY6+/TuOQ4 Ok4x2UY7OZyCUxEkcBy9s5nr1i9XTnINDO/Lj2xY= Authentication-Results: sas8-6461c81dc980.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Received: by sas2-eda296917d2e.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id dWh7qjI1Hb-SLMGmuTr; Sun, 19 Jun 2022 21:28:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) From: Colin Baxter References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Date: Sun, 19 Jun 2022 19:28:19 +0100 In-Reply-To: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> (David Ponce's message of "Sun, 19 Jun 2022 18:43:33 +0200") Message-ID: <87mte8bj98.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> David Ponce writes: > Hello, 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. --- src/xfaces.c | 23 ++++++++++++----------- 1 file > changed, 12 insertions(+), 11 deletions(-) > diff --git a/src/xfaces.c b/src/xfaces.c index 4242205..25b5e4d > 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5909,7 +5909,7 @@ > realize_gui_face (struct face_cache *cache, Lisp_Object > attrs[LFACE_VECTOR_SIZE] #ifdef HAVE_WINDOW_SYSTEM struct face > *default_face; struct frame *f; - Lisp_Object stipple, underline, > overline, strike_through, box; + Lisp_Object stipple, underline, > overline, strike_through, box, temp_spec; > eassert (FRAME_WINDOW_P (cache->f)); > @@ -5953,17 +5953,18 @@ realize_gui_face (struct face_cache > *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE] if (! FONT_OBJECT_P > (attrs[LFACE_FONT_INDEX])) { /* We want attrs to allow overriding > most elements in the - spec, but we don't want to start with an > all-nil font, - either, because then we lose attributes like - > antialiasing. This should probably be fixed in a - different way, > see bug#17973 and bug#37473. */ - Lisp_Object spec = > copy_font_spec (attrs[LFACE_FONT_INDEX]); - Ffont_put (spec, > QCfoundry, Qnil); - Ffont_put (spec, QCfamily, Qnil); - Ffont_put > (spec, QCregistry, Qnil); - Ffont_put (spec, QCadstyle, Qnil); + > spec (IOW, to start out as an empty font spec), but + preserve the > antialiasing attribute. (bug#17973, + bug#37473). */ + temp_spec > = Ffont_spec (0, NULL); + + if (FONTP (attrs[LFACE_FONT_INDEX])) + > Ffont_put (temp_spec, QCantialias, + Ffont_get > (attrs[LFACE_FONT_INDEX], + QCantialias)); + > attrs[LFACE_FONT_INDEX] - = font_load_for_lface (f, attrs, spec); > + = font_load_for_lface (f, attrs, temp_spec); } if (FONT_OBJECT_P > (attrs[LFACE_FONT_INDEX])) { -- > cgit v1.1 > The below marked line seems not correct. According to the previous > condition "if (! FONT_OBJECT_P (attrs[LFACE_FONT_INDEX]))", it > should always be false, so the antialising attibute is never > preserved: > if (FONTP (attrs[LFACE_FONT_INDEX])) <===================== > Ffont_put (temp_spec, QCantialias, Ffont_get > (attrs[LFACE_FONT_INDEX], QCantialias)); > Thanks, David Ponce Yes, I see exactly the same breakage. I reported this to emacs-dev - wrong site! Best wishes, Colin. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2022 19:16: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 To: David Ponce , Po Lu Cc: larsi@gnus.org, 37473@debbugs.gnu.org Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165566612412953 (code B ref 37473); Sun, 19 Jun 2022 19:16:01 +0000 Received: (at 37473) by debbugs.gnu.org; 19 Jun 2022 19:15:24 +0000 Received: from localhost ([127.0.0.1]:53247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o30OK-0003MR-2z for submit@debbugs.gnu.org; Sun, 19 Jun 2022 15:15:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o30OG-0003DX-1R for 37473@debbugs.gnu.org; Sun, 19 Jun 2022 15:15:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o30OA-0002Bq-De; Sun, 19 Jun 2022 15:15:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2/4F7VuIbesguhb0Ih8ovaYs1JHcvxW8m/tCSksTFMY=; b=PookeOaUxXpM FTQ5uAIWttDiqGtTgaIqjsr9XBQKhoMmEsNMTO1DSrl/ab2g4qgXW+yaUl0aCLEq/f2yzuvmjA+Yg f9QjGskNM2znV0sEqkVEb5e+HjgnAXrglu+kDqQd9GsLw9C1nQRQzM+wL1Kk/5zZMBIWftCATiIWj l42zOAzNs8ZeSCPn3fg7DO176dhBgMhB8rxYThIsmC2RQqTigwqAuiIwKaMtH6Imd/Z6oLFhhWQVl gJ0ZhpBMSkaRgJkG97sv8TraGHa+ziOhVTxw0xCdQqP5M5HODsEMQlTnJByUr0x3o18Ixiuskgx6+ 6xq+j3N3A6vJNJn9DAqBJQ==; Received: from [87.69.77.57] (port=4558 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o30O6-0006G1-6c; Sun, 19 Jun 2022 15:15:14 -0400 Date: Sun, 19 Jun 2022 22:14:53 +0300 Message-Id: <83k09cmpn6.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> (message from David Ponce on Sun, 19 Jun 2022 18:43:33 +0200) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. First, why is :antialiasing being singled out? won't the same happen for any attribute in FONT_EXTRA_INDEX, like :hinting, :hintstyle, and whatnot? And if indeed the issue is with FONT_EXTRA_INDEX, then I'd first ask why the right value is not in attrs[] in the first place? Because if it is there, why not just use it directly, instead of via Ffont_put? And in addition, why does it make sense to reset foundry, family, registry, and adstyle of the font in attrs[]? don't we want the same font, for example, when resizing the text? 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? From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2022 22:48: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 To: Eli Zaretskii Cc: Po Lu , David Ponce , 37473@debbugs.gnu.org Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165567887124326 (code B ref 37473); Sun, 19 Jun 2022 22:48:01 +0000 Received: (at 37473) by debbugs.gnu.org; 19 Jun 2022 22:47:51 +0000 Received: from localhost ([127.0.0.1]:53404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o33hu-0006KG-Hu for submit@debbugs.gnu.org; Sun, 19 Jun 2022 18:47:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o33hs-0006JY-TD for 37473@debbugs.gnu.org; Sun, 19 Jun 2022 18:47:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Us6uT4j0eCD3kud3A4TmXx5qZU0mLL9tzwF9/YpLByM=; b=DmYJ1EJEAnjoG1cJmfTcXtbd0e SYWlHj2XFaRkkIYCXJWUjsg2wSOSzwHATnGdfaaCIJ3MzAVZozcpaZZChs+05sbwTdL4pgBTOx0Ne QjnyynCuMjrUq9fjxCTA48b1j84IjWhIpYNdcmXtJl0wAeXqMrwin3L4pRGRDboB5fao=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o33hj-0003Ea-QV; Mon, 20 Jun 2022 00:47:42 +0200 From: Lars Ingebrigtsen References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> Date: Mon, 20 Jun 2022 00:47:39 +0200 In-Reply-To: <83k09cmpn6.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Jun 2022 22:14:53 +0300") Message-ID: <874k0gtgms.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > First, why is :antialiasing being singled out? won't the same happen > for any attribute in FONT_EXTRA_INDEX, like :hinting, :hintstyle, and > whatnot? Yes, that's a bug -- there's all kinds of extra stuff, and :antialiasing isn't special. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > First, why is :antialiasing being singled out? won't the same happen > for any attribute in FONT_EXTRA_INDEX, like :hinting, :hintstyle, and > whatnot? Yes, that's a bug -- there's all kinds of extra stuff, and :antialiasing isn't special. > And in addition, why does it make sense to reset foundry, family, > registry, and adstyle of the font in attrs[]? don't we want the same > font, for example, when resizing the text? > > 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? bug#17973 was fixed by disregarding the font spec completely so that font_load_for_lface would be free to recompute those bits: > The patch below expresses the first part, but it looks like the second > part doesn't exit: Emacs just doesn't find any font to use for the "thin > space" of C-x SPC and indicates it to me with one of those big squares > that say "0020", which is a lot more intrusive than the problem I'm > trying to fix. But that gets rid of all the data, which is what I attempted to fix. I think a better fix would just be to start with a blank spec and copy :extra -- but I wasn't able to make that work. That is, I needed to copy more, but I wasn't able to determine what. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting 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 To: Eli Zaretskii Cc: David Ponce , larsi@gnus.org, 37473@debbugs.gnu.org Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165568618012621 (code B ref 37473); Mon, 20 Jun 2022 00:50:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 00:49:40 +0000 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 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 EywB7JNYo70408WG9y4c3Be0shyOHWzHch4I40hWab43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AMA-- X-Sonic-MF: 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 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) From: Po Lu References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> Date: Mon, 20 Jun 2022 08:49:19 +0800 In-Reply-To: <83k09cmpn6.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Jun 2022 22:14:53 +0300") Message-ID: <87wndcxipc.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1287 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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? From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 11:58:02 +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 To: Po Lu , Kenichi Handa Cc: da_vid@orange.fr, larsi@gnus.org, 37473@debbugs.gnu.org Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.1655726269523 (code B ref 37473); Mon, 20 Jun 2022 11:58:02 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 11:57:49 +0000 Received: from localhost ([127.0.0.1]:54626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3G2P-00008N-7b for submit@debbugs.gnu.org; Mon, 20 Jun 2022 07:57:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3G2N-000089-K5 for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 07:57:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3G2H-0002ch-Uk; Mon, 20 Jun 2022 07:57:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=olYU4iiVMn2F4bEJcsPX+tPx6n1KTcuMhvw/fU9HNhI=; b=X7lup6wnrEgS Bc6RiMhCoYZosP4fYx5TSxhsavzNYErxNF/3mlqR+vQ18YjarC06zN6Z7MWrGpPX/Cz3CQQ6BXgdQ 6poUAu8FNH9VjM1G7oTX3MjqQz/OEOLIoSouCXVX89BeoOn9MYCh0uvH+JEfN7b2stOann5J7nWWr XlCnELYcVKF8LGTg9+ftHByjRCwb77yTLZSiwiTl6visEF9kraPpHZZXV8DxPWmt+RbGFsR2CKfHh acfrR4Uw8ZikrMD9DZO276zbppSD9iL5qUgrXonz+Z1tI+Plr0AO5NEOoeHlKvcN/R2b8HQ+C7rYv p5lcn1xKERA0vXHllbJjUA==; Received: from [87.69.77.57] (port=2122 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3G2H-0005lK-De; Mon, 20 Jun 2022 07:57:41 -0400 Date: Mon, 20 Jun 2022 14:57:27 +0300 Message-Id: <837d5bmtso.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87wndcxipc.fsf@yahoo.com> (message from Po Lu on Mon, 20 Jun 2022 08:49:19 +0800) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: David Ponce , 37473@debbugs.gnu.org, larsi@gnus.org > Date: Mon, 20 Jun 2022 08:49:19 +0800 > > 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.) What did you need to fix? what did you see that didn't work correctly, and how to reproduce that? > The fix should definitely be rewritten. The latest code still singles out :antialiasing, and I don't understand why. > > 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? I added Handa-san to the CC, hopefully he will comment. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 12:05: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 To: Eli Zaretskii Cc: Po Lu , Kenichi Handa , 37473@debbugs.gnu.org, da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.16557266611294 (code B ref 37473); Mon, 20 Jun 2022 12:05:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 12:04:21 +0000 Received: from localhost ([127.0.0.1]:54659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3G8i-0000Ko-Mr for submit@debbugs.gnu.org; Mon, 20 Jun 2022 08:04:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3G8d-0000KJ-Gu for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 08:04:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+RxFjy8VKwBb2wlb6ixDRFpCaYL1joAUIqMtQvLcOhc=; b=ifIgkSWVjknWDf1az8bQKD+cBZ jpThaX6ijKz8UF/1my7ahRaM4Rs/igZbVCm+iPNek4lTS6P2+69dIGrnUBmh4kGJUvX+wS1TJ0Fsr k2z6bvjOngRztRqouLIy87BiVx/omLtPz0LoYnsvf3dk8d43R/Td4efE/KhiAR6v/99w=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3G8U-0001J8-DV; Mon, 20 Jun 2022 14:04:08 +0200 From: Lars Ingebrigtsen References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXCtc1nbXvMnzn/ //8PiQQoAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YGFAsEM4sbLKQAAAFVSURBVCjPTdG9asMwEADg U9CV0K1gBbqnQ9/CKVaHTlbxmcZTKaRgP0Uz5A2iQMcMHnRP2TvZTSLwz6ez7nQyWChg83KoYRoI xvtSXoxeFVjUWae3SqMySXAdWN/AlflOec5qAiCavvYZW6+hwuUsREEeoZpBJdBGwxvvQ1c6qgoJ WMfjoBFNgy0z/wD5jDcF5gIF3l8BsJrhJySCOYLMxwsWzF3MpSfwCPgwIylgysYnPpQI2IAF2AeO Akdg11bXCnqCZWGfGqIlwihNwToIGM241WOjlgbem10vmT+fJcBn0/d6do8hSFmTetnG0dRNxk7a br5Iek3I+tnp3VMaBBK5+5WaaeCMVT/BKyBSQ6njKO3C4iwYOk5RkSgoWPtZjFRjN8MRtdi1rGcg Jy5bbmW5oJYA71/jTqE/ZzhFfbQKraqjUWzjhA+g/zESX9Byc4vj9x8P+JinKaaLEwAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0wNi0yMFQxMTowNDo1MSswMDowMMzJqf8AAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMDYtMjBUMTE6MDQ6NTErMDA6MDC9lBFDAAAAAElFTkSuQmCC X-Now-Playing: Thursday Club's _Fabric Presents: Octo Octa & Eris Drew_: "Dis Is Dis" Date: Mon, 20 Jun 2022 14:04:04 +0200 In-Reply-To: <837d5bmtso.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Jun 2022 14:57:27 +0300") Message-ID: <87a6a735jf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> 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.) > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> 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.) > > What did you need to fix? what did you see that didn't work correctly, > and how to reproduce that? The recipe is in bug#37473 -- start Emacs with antialiasing off, hit `C-x C-+', and the antialiasing would be on. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 12:12:02 +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 To: Lars Ingebrigtsen Cc: luangruo@yahoo.com, handa@gnu.org, 37473@debbugs.gnu.org, da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.16557270921972 (code B ref 37473); Mon, 20 Jun 2022 12:12:02 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 12:11:32 +0000 Received: from localhost ([127.0.0.1]:54676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3GFf-0000Vk-JW for submit@debbugs.gnu.org; Mon, 20 Jun 2022 08:11:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3GFd-0000VX-Io for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 08:11:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3GFX-0005e4-Uz; Mon, 20 Jun 2022 08:11:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=J9BUKv33p1kz3cuLn+tZZi8jGcMFV1QLdwdeIZsDdIo=; b=HzwFZIVY1Ge0 Me/43nlXXPzr381+/Kg295UGhYQjDjp/ld6Vcmv/ey0IjjDt8Ycoa8HUksEnYpKNV21/MuQ2AVC7A f/QGMzb8BaqIHg/oS1isO+DC/mflrN7muMdDWiI0iUSsjjCKLOjyFWkCgawGber2v35Lih9QqyohF XM/C6ta7xrbT2TiJzN4MlhTwUxeqqSpqpPAZ3PH/MX6zYb8t55w31jGdlHiTllF2A/6wfoWp2SKYv APvaxabE+XK9jthykPZNV7xvpGC6pv9hu423l8brjki4avXuKNWHNBtGSJzqfTi8f4OMZVx5uIXCQ 4Rpjd9d7PnKeYlF5jWBrbg==; Received: from [87.69.77.57] (port=3052 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3GFX-0004pb-E7; Mon, 20 Jun 2022 08:11:23 -0400 Date: Mon, 20 Jun 2022 15:11:08 +0300 Message-Id: <834k0fmt5v.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87a6a735jf.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 20 Jun 2022 14:04:04 +0200) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <87a6a735jf.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: Po Lu , Kenichi Handa , > da_vid@orange.fr, 37473@debbugs.gnu.org > Date: Mon, 20 Jun 2022 14:04:04 +0200 > > Eli Zaretskii writes: > > >> 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.) > > > > What did you need to fix? what did you see that didn't work correctly, > > and how to reproduce that? > > The recipe is in bug#37473 -- start Emacs with antialiasing off, hit > `C-x C-+', and the antialiasing would be on. I know, but Po Lu said he had some problems with your fix on his machine, and that's what I was asking about. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 12:21:02 +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 To: Eli Zaretskii Cc: Kenichi Handa , larsi@gnus.org, 37473@debbugs.gnu.org, da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.16557276272872 (code B ref 37473); Mon, 20 Jun 2022 12:21:02 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 12:20:27 +0000 Received: from localhost ([127.0.0.1]:54699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3GOI-0000kG-Sa for submit@debbugs.gnu.org; Mon, 20 Jun 2022 08:20:27 -0400 Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:37600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3GOF-0000k2-4e for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 08:20:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655727617; bh=tsNU727lYJpfDFl1HdUCBWLI+FMh2+szE/V3MRQmwYM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=SbXYhSRso9+W9btBqc3IzfVpf/wXvdZ+Y0GhVY78lUlY1RDG/Omup9CKBDCZLcf13oWkXCvKmtQ31GXFkbjdF6l1uqtyHyHb5kyf8aGXsbsjATuLvBu0g2Gqj3o9ZpQOg99yL0dKXVwU7TsczW/R8Ig4/tv42lYuU/+eWyMfBYK9Kt8LQV5IAnyOxa4TtQd3wX+80UxlMsAp5hZYxUmXM91/sy+tMaNbfJcwppyR9CaPqL3/pCP9WlbX4Pdyw/cyu5oLRGsvWNX5jRBdvs0cIw7gtQtzC/7G2/BU0Cflo912t24x0xygnMqd5lD2Iu1/FDi4vVWCeYp5Og3JbDOAQg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655727617; bh=HhF7rVT+bwdzXUNixPn1ANwZH4fFprHUpWZ3trXBWgp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=YidhcC+i0xQ2Sr8kwGhsROEismgUpQgj9qxw4iFz+KFm2hV053PD92J31/pKmwVX/5Tq/JqhDEDgfaoreJhvVKy9sa8MgOnBiY1y6CDqGLG4QwvG08dMXHiUVubVq5epBcl5H6nNUBJR9zp15IG+Cj81pUhaoUQZ7jW2M8f8yL1c2nHOh3k7QRgetskv6UGgaw6ebqH5raTJ8uRPIAIKB1SninF18PHZcsvcN49Ze7OzQ1Sv3pbBlicMrLzwz8LLrHPP6wKqI0gqpleaNl5/Ajc+D6ppLDy3S2UEshUCzQd8c0BMMOPgJ4LHsQXSmsHWyQomXMkTATomXV2wcboU/Q== X-YMail-OSG: pZVXCU0VM1kFKuK2FVhZc8ElhY2Ye.PQLz4AYgh7mbZe1KxR6ni8CcznImJmTwE LLMZcW.1tuXy3aUzPusMAaYjkfpDfGsJUscXhYl9DJGpiEAlErbgcPU5zQ4YBMFtE9Qw_RttMiH8 P8Olvc5OspU3jAnBmUUSuJWuiek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f2F0cyyaeioQTQt1Hryr2 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Jun 2022 12:20:17 +0000 Received: by hermes--canary-production-sg3-559fcd5995-chz8s (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3d9dca8bb9a09573ee00d8adb9887f1c; Mon, 20 Jun 2022 12:20:14 +0000 (UTC) From: Po Lu References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> Date: Mon, 20 Jun 2022 20:20:06 +0800 In-Reply-To: <837d5bmtso.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Jun 2022 14:57:27 +0300") Message-ID: <875ykvo7bd.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 414 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > What did you need to fix? what did you see that didn't work correctly, > and how to reproduce that? The bold variant of Source Code Pro would be used after C-x C-+, instead of the regular one. > The latest code still singles out :antialiasing, and I don't > understand why. See the original bug report. > I added Handa-san to the CC, hopefully he will comment. Thanks. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 13:17: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 To: Po Lu Cc: handa@gnu.org, larsi@gnus.org, 37473@debbugs.gnu.org, da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.16557309968369 (code B ref 37473); Mon, 20 Jun 2022 13:17:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 13:16:36 +0000 Received: from localhost ([127.0.0.1]:54809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3HGe-0002Av-4N for submit@debbugs.gnu.org; Mon, 20 Jun 2022 09:16:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3HGc-0002Ag-1i for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 09:16:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3HGU-0002TE-RL; Mon, 20 Jun 2022 09:16:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=VpkU2KDczB5FbWUWMYebYzdXVsZA+2MGQ7vBP28bl/w=; b=BzPHr5nEl7WS tJs+IVWZblvTcZgEvQUWQV3oi0a+WxbVYfG3RUjv9u+kp87ge6o/BVkPRrldfAvjXnfAqQwpw7WfD 71268UQi/IOcoVYZgB3RyvyQiGWV0PSWS53ZfoA0cSv8CD7vvPCvVSiuUo8+2NQKNazRcOt+i9Yvk rl9oIMYxuWw/LDh1ba7Z3r8A66J5i8xdX69yZ4kOsHLE6X1eybBWu5EJr7wPqE8IF+zWCI0bKyiO2 kMC0wLxImyLVyPdPU5IFS9sV6tLq/hErNOAGLpR7EDDdqHS853uTTRGC5iNIzqvOLN+rDcqTZP3oJ +ztEysXa6tEOULhOZnRDeg==; Received: from [87.69.77.57] (port=3128 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3HGT-0000Sd-8O; Mon, 20 Jun 2022 09:16:25 -0400 Date: Mon, 20 Jun 2022 16:16:10 +0300 Message-Id: <831qvjmq5h.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <875ykvo7bd.fsf@yahoo.com> (message from Po Lu on Mon, 20 Jun 2022 20:20:06 +0800) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: Kenichi Handa , da_vid@orange.fr, > 37473@debbugs.gnu.org, larsi@gnus.org > Date: Mon, 20 Jun 2022 20:20:06 +0800 > > > The latest code still singles out :antialiasing, and I don't > > understand why. > > See the original bug report. ??? The original bug report talked about antialiasing, but it didn't say that other attributes in the :extra property don't exhibit the same issue. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 13:21: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 To: Eli Zaretskii Cc: handa@gnu.org, larsi@gnus.org, 37473@debbugs.gnu.org, da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.16557312259169 (code B ref 37473); Mon, 20 Jun 2022 13:21:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 13:20:25 +0000 Received: from localhost ([127.0.0.1]:54965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3HKL-0002Np-Bl for submit@debbugs.gnu.org; Mon, 20 Jun 2022 09:20:25 -0400 Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:42127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3HKJ-0002NZ-9o for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 09:20:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655731217; bh=ivIVtPYNMnlpzeaT6HnlcQrRl7jagVbSJdyU91ZfkEQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=XCGy2c0Zdft0x2T//j/jH+J4sFchz38u1Hxsq4VCoGIQhl2T9CQ3p5rjzD/dE7ZsKQz7bGgWqhzuLUkitCeV96q2ubHoeDq03Iq4gtIEvsbBz4wLCeIMyTlD9t3/IYTdKlDBKdk3cSSX9yHbi6G6fnlEAEf/CoYAu8Zbkhfyyr/FwSelaJjX0c+BoxmPzdir8lrLqixr4TlboBy4QsjwF8yn+2Xs3jsbVdX+xHCBeisKPFFbpLRAGOtdgkQrl7AH8ln6Un58m4YUyXEkmU/unb4Wbtxr+aifHE6op7JzGd8670X172eN22P5RdpVRxXjxY9s9JQqtmDQ5ogls0nhCQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655731217; bh=Af/YzkqBjhsD15vaea05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rt5_2Z57czftMr3nUIGKcNRyE3g5IBGO1bKBHWRGyF1o67N7wHRkAxYb TZ5QJS2TIDvkiHuypKUeutGJoAUq4z54LfN8GLmbbDd0oxMwElv64zgjso4wdzCmu9OoWbTVK2vt wlXa2M9vPmQi8TUyxX27fEQ4eq15RFp7rfrHTqlGr9SL3oYhcpkxXLD9HTRF6HiDky4wggpviweB QfPr0hHHcsL69KxVCc4R33YLTWf9nA62H5NcdtoLtI8FZzkZE1sUUkRKU_hfCw2LKP4t7SlDAgWf D_VV7KTmtEf0LbuT.dayqpMy1gI2tPYfBWBDwfN5eWMkPY5Xdmtxx8qGahbwpRjxdEjtJdy0ysj. LufY7xQx2Bs7Xm5f_Qk16ULp77fw.zHqtzY06eUFSfgLyENoanMh3B4NaXL1e1OOoCC8Ot5xs6Ma IVCORCdsbrxY6JUfbY7mbI8zWHI5vTAqZQhEMT3zyvJuy71.GhMLcCvSGrMZd3SPROFsP8BTQhqH JrJAuDG3kWuguACadkp5lxJdTG_kv15sRJV933CThXmWyJbAvsroXeJsUXIEPTbJ9p_E1 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Jun 2022 13:20:17 +0000 Received: by hermes--canary-production-sg3-559fcd5995-c65nb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d97beb12f11e720277af04a5729e7bb8; Mon, 20 Jun 2022 13:20:14 +0000 (UTC) From: Po Lu References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> <831qvjmq5h.fsf@gnu.org> Date: Mon, 20 Jun 2022 21:20:09 +0800 In-Reply-To: <831qvjmq5h.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Jun 2022 16:16:10 +0300") Message-ID: <87y1xrlbee.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 415 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > ??? The original bug report talked about antialiasing, but it didn't > say that other attributes in the :extra property don't exhibit the > same issue. They might, but apparently :antialias is the only one to have caused enough of a problem for someone to open a bug report. I guess copying the entire extras alist would work too, if that's what you would prefer. Thanks. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 13:38: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 To: Po Lu Cc: handa@gnu.org, larsi@gnus.org, 37473@debbugs.gnu.org, da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165573227911016 (code B ref 37473); Mon, 20 Jun 2022 13:38:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 13:37:59 +0000 Received: from localhost ([127.0.0.1]:55031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3HbK-0002rc-Oz for submit@debbugs.gnu.org; Mon, 20 Jun 2022 09:37:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3HbD-0002rJ-PM for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 09:37:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Hb8-00024G-9P; Mon, 20 Jun 2022 09:37:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cVoXw/0OIMbAru02buKw6nK05DFYbHSuowtzx/ImCc8=; b=QqC5m/7NFo4D Hzr+5fB2yK7ss68zNiiGLVGt9TLbaBNtHGQriS+8DSMGW+a0VbBWIxL7gZHTNkq2AF4VMfI0AFwwB R8ceNrtEsu8cJC1UPsr2eC6vK/pfPauQqPQ6MIjG0/+2WOshol2jy5NBTwuFufaEiNUoGwQSPCR7S mRu6Cr3p8KvZ//cNlwC6eW82T5GJezNF21LWvm4nJmwg3QG4EJmV8AvK1MiAyHr4J2J1+YEa6ZWFq UYblKMDnjWESu+rD8WziLOO5mZT/7TJHKww2hNb7HbzkcPvtKN1V5girkgZrR5/L5MUBb/iYdp5/7 sb4IF5gP+PofAvgfpX4r2Q==; Received: from [87.69.77.57] (port=4425 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Hb7-00036M-PU; Mon, 20 Jun 2022 09:37:46 -0400 Date: Mon, 20 Jun 2022 16:37:32 +0300 Message-Id: <83y1xrlalf.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87y1xrlbee.fsf@yahoo.com> (message from Po Lu on Mon, 20 Jun 2022 21:20:09 +0800) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> <831qvjmq5h.fsf@gnu.org> <87y1xrlbee.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: handa@gnu.org, da_vid@orange.fr, 37473@debbugs.gnu.org, larsi@gnus.org > Date: Mon, 20 Jun 2022 21:20:09 +0800 > > Eli Zaretskii writes: > > > ??? The original bug report talked about antialiasing, but it didn't > > say that other attributes in the :extra property don't exhibit the > > same issue. > > They might, but apparently :antialias is the only one to have caused > enough of a problem for someone to open a bug report. > > I guess copying the entire extras alist would work too, if that's what > you would prefer. Yes, I think that's what we should do, at least as long as the solution is based on this technique. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 14:13: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 To: luangruo@yahoo.com, handa@gnu.org, larsi@gnus.org Cc: da_vid@orange.fr, 37473@debbugs.gnu.org, Stefan Monnier Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165573433817738 (code B ref 37473); Mon, 20 Jun 2022 14:13:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 14:12:18 +0000 Received: from localhost ([127.0.0.1]:58096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3I8X-0004c0-Ua for submit@debbugs.gnu.org; Mon, 20 Jun 2022 10:12:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3I8U-0004bj-KM for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 10:12:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3I8K-0007lr-5B; Mon, 20 Jun 2022 10:12:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=B2d7Gw6ljlUDhdQF8lsEN+kb8rSmseGaUpZFF/RrZew=; b=e3HZW1mu1/GY JK0jnyUKjw+vWkXDVk5qf9xAWi633uk3j5sSf2qu0NjMzTJDdihYgVWDFPqNogecpVoOt0r4LbouH RXZCkEV4rGkbI8JlE0UyfyOLm9LMzBnYGBfGqQzfEE58vYiCnRZhJn4t8RSWn3lGVyxellgIo8d2T CSqF/v50olyrwbDyv+sQjEfjvTMNZ87LHqD1+49SIYQLJ6WhMzAWwRH8jA68abq0mYPosBaTtVYd0 aCV6CC8iNwfo6stOXefsHrsYGRxa6KFIUNfVne4NCp3+4rWERwan943B99GgJr/Qocx2YWQ0O65Nn ScVD6GymIljfOUcxDxrpUQ==; Received: from [87.69.77.57] (port=2578 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3I8J-0004q3-JV; Mon, 20 Jun 2022 10:12:03 -0400 Date: Mon, 20 Jun 2022 17:11:49 +0300 Message-Id: <83wndbl90a.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83y1xrlalf.fsf@gnu.org> (message from Eli Zaretskii on Mon, 20 Jun 2022 16:37:32 +0300) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> <831qvjmq5h.fsf@gnu.org> <87y1xrlbee.fsf@yahoo.com> <83y1xrlalf.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: handa@gnu.org, larsi@gnus.org, 37473@debbugs.gnu.org, da_vid@orange.fr > Date: Mon, 20 Jun 2022 16:37:32 +0300 > From: Eli Zaretskii > > > From: Po Lu > > Cc: handa@gnu.org, da_vid@orange.fr, 37473@debbugs.gnu.org, larsi@gnus.org > > Date: Mon, 20 Jun 2022 21:20:09 +0800 > > > > Eli Zaretskii writes: > > > > > ??? The original bug report talked about antialiasing, but it didn't > > > say that other attributes in the :extra property don't exhibit the > > > same issue. > > > > They might, but apparently :antialias is the only one to have caused > > enough of a problem for someone to open a bug report. > > > > I guess copying the entire extras alist would work too, if that's what > > you would prefer. > > Yes, I think that's what we should do, at least as long as the > solution is based on this technique. Actually, why not go to the code we had in realize_gui_face before commit bf0d3f7? The problem described in bug#1793, which led to that commit, only happens if one uses a specific (misc-fixed) font family, not for the usual default fonts used by Emacs, and I'm not sure what's described there is a bug at all. At least for the purposes of text-scale-adjust, it makes no sense to ignore the foundry/family/adstyle of the original font, because we _want_ the same (or very similar) font, just of a different size. And likely in other use cases: if the :font attribute of a face specifies some font properties, we want to keep them all, not arbitrarily to ignore some of them. And definitely catering to an obscure use case such as the one cited in bug#17973 is NOT a good reason to make such radical changes in face-realization behavior. So I think we should just back out that part of commit bf0d3f7, and if we decide that this causes bug#17973 in too many situations we care about, I'd rather find a kludge for that specific case than do that for every face realization. Specifically, I propose the change for the master branch. Any objections? diff --git a/src/xfaces.c b/src/xfaces.c index f70fe87..10bde40 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5952,28 +5952,8 @@ realize_gui_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE] emacs_abort (); } if (! FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) - { - /* We want attrs to allow overriding most elements in the - spec (IOW, to start out as an empty font spec), but - preserve the antialiasing attribute. (bug#17973, - bug#37473). */ - temp_spec = Ffont_spec (0, NULL); - temp_extra = AREF (attrs[LFACE_FONT_INDEX], - FONT_EXTRA_INDEX); - /* If `:antialias' wasn't specified, keep it unspecified - instead of changing it to nil. */ - - if (CONSP (temp_extra)) - antialias = Fassq (QCantialias, temp_extra); - else - antialias = Qnil; - - if (FONTP (attrs[LFACE_FONT_INDEX]) && !NILP (antialias)) - Ffont_put (temp_spec, QCantialias, Fcdr (antialias)); - - attrs[LFACE_FONT_INDEX] - = font_load_for_lface (f, attrs, temp_spec); - } + attrs[LFACE_FONT_INDEX] + = font_load_for_lface (f, attrs, attrs[LFACE_FONT_INDEX]); if (FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) { face->font = XFONT_OBJECT (attrs[LFACE_FONT_INDEX]); From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 15:44: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 To: Eli Zaretskii Cc: luangruo@yahoo.com, handa@gnu.org, 37473@debbugs.gnu.org, Stefan Monnier , da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165573980226613 (code B ref 37473); Mon, 20 Jun 2022 15:44:01 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 15:43:22 +0000 Received: from localhost ([127.0.0.1]:58201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3JYg-0006vB-Jb for submit@debbugs.gnu.org; Mon, 20 Jun 2022 11:43:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3JYd-0006uu-MK for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 11:43:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gLmK04Q61XDoe46IMl44R0W95mE6Cm8O7k5cW+quMSY=; b=lvveKhZyjXfEqKfgmhELwdaVfx dpDXB3/IyQlRntzYFYCDkh5ucXxSt4NbiWeYhh7dSwIdJ0GyO4AwWE/Xt9RgXH22SrB8y9mP5rUm+ L2mkqYgazl3sAbYEu6jez9nEm+yf+HWgpGTq+bt1h0mw5RV+ac7qrzPUg/eblIgiHRlI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3JYS-0003Gh-IA; Mon, 20 Jun 2022 17:43:11 +0200 From: Lars Ingebrigtsen References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> <831qvjmq5h.fsf@gnu.org> <87y1xrlbee.fsf@yahoo.com> <83y1xrlalf.fsf@gnu.org> <83wndbl90a.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXbDFuwJEijPUbh nrP///8C+YAWAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YGFAwYAjn9Z0YAAAGwSURBVDjLtVJRrtww CITnCwC5QCAXiM3979YBZ7vdp0pVPx67ihLGzAxgIiaEaIULK2ucpoocnwLsi8Iigk/1MDtPAPOY 447Dkb5WWh5+TXeisY485spYeQEIfOTKvGnceYy1Ft2Zh+Wd48bbBsaY96CZec2ke8yZV4IKB0F1 rAI0bY71AvC7AYD4ChSN4iwAbwDSAgDAHPNa1wW76mSIsounulc/IWhQiFXD1Lp70yiox4HOvVOY RA3GNWokVIOpbzVnxhOU4QVw6WjRRVEiGxsgUG2SrqvSswCWBvQR16r0BkoC+zDrw232cVX8XCTb Qjj71qgsdrcFGER7g8TPUkvEao8QEdmNCDMY682LMbwrXsZ4XwmWeAB5t2Co8GI7n4puo68JDheZ PwC1dufDilC2XWIW9t1zDcwecS0darvdquhj6qnbDpje8QAgKCbUSYtz/+GsFo4ZKrmYvVwhvMaL w1xW5JNtD0joM+qy7CvzDYBR2JfWlA9j1T9xC76YlYul5iUC+a/fJfxapEpPvofxDt4M/N3Vn0c+ xLmNykv5LyH/kd2N7CZ/MOSfJ34BxMc9qiZyOsEAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYt MjBUMTI6MjQ6MDIrMDA6MDBQZ2gJAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTIwVDEyOjI0 OjAyKzAwOjAwITrQtQAAAABJRU5ErkJggg== X-Now-Playing: Boris with Merzbow's _2R0I2P0_: "Boris" Date: Mon, 20 Jun 2022 17:43:06 +0200 In-Reply-To: <83wndbl90a.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Jun 2022 17:11:49 +0300") Message-ID: <87o7yn1gtx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > And likely in other use cases: if the :font attribute of a face > specifies some font properties, we want to keep them all, not > arbitrarily to ignore some of them. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > And likely in other use cases: if the :font attribute of a face > specifies some font properties, we want to keep them all, not > arbitrarily to ignore some of them. Yup. > Specifically, I propose the change for the master branch. Any > objections? Not from me, but perhaps Handa-san has some comments. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 15:58:02 +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 To: Lars Ingebrigtsen Cc: luangruo@yahoo.com, handa@gnu.org, 37473@debbugs.gnu.org, monnier@iro.umontreal.ca, da_vid@orange.fr Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165574065628228 (code B ref 37473); Mon, 20 Jun 2022 15:58:02 +0000 Received: (at 37473) by debbugs.gnu.org; 20 Jun 2022 15:57:36 +0000 Received: from localhost ([127.0.0.1]:58244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3JmS-0007LD-62 for submit@debbugs.gnu.org; Mon, 20 Jun 2022 11:57:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3JmR-0007Kz-99 for 37473@debbugs.gnu.org; Mon, 20 Jun 2022 11:57:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3JmK-0008KZ-Mg; Mon, 20 Jun 2022 11:57:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=k9y7ZSwbrwGsuAENTZ/aYeUMI1t4oIo6fd/j3ix0XjY=; b=knlLFRq4GjSn hyG2UdEZ6QKD/CJBMWs1zILOetOodZ8VVIjTp4osfOeZ/sgsNlNJN8PD0y8H06zywPuGlQ+2Ewx9H DyfiJI3uKiGIm1NH7c6stD/JrPGSQdKk1TPe9QHS03a/YlFd8DOdD42IJbnalgztdF4LjdR6kuGjS KU0YuXu3wSxpUuB6h9rpr7AIxh4ymFureYbtjMRhgeZjBp/FwvayN9tvBD20l2a93yEa5r33eWDHA 6/sSilFVc/9FNS1a5TCB7E7NPYBuVznHdyT0Aj2BgAcObm3QgJZ9facFo5pGf4eWaprfTKMF70EaG mr/jyxO0k4Ds2f2rFpuvWg==; Received: from [87.69.77.57] (port=1041 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3JmJ-0002wc-LB; Mon, 20 Jun 2022 11:57:28 -0400 Date: Mon, 20 Jun 2022 18:57:13 +0300 Message-Id: <83sfnzl44m.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87o7yn1gtx.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 20 Jun 2022 17:43:06 +0200) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> <831qvjmq5h.fsf@gnu.org> <87y1xrlbee.fsf@yahoo.com> <83y1xrlalf.fsf@gnu.org> <83wndbl90a.fsf@gnu.org> <87o7yn1gtx.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: luangruo@yahoo.com, handa@gnu.org, 37473@debbugs.gnu.org, > da_vid@orange.fr, Stefan Monnier > Date: Mon, 20 Jun 2022 17:43:06 +0200 > > Eli Zaretskii writes: > > > And likely in other use cases: if the :font attribute of a face > > specifies some font properties, we want to keep them all, not > > arbitrarily to ignore some of them. > > Yup. > > > Specifically, I propose the change for the master branch. Any > > objections? > > Not from me, but perhaps Handa-san has some comments. Sure, there's no rush. My main problem with that change is that I don't understand why would it make sense to "forget" all the attributes of a font when realizing a face whose :font attribute is non-nil. It's like ignoring the foreground color when a face specifies it. If there are special situations where some font attributes should be "forgotten", we should perhaps have separate functions for them, which we should call only in those special situations. From unknown Sat Sep 06 14:23:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2022 06:18: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 To: Kenichi Handa Cc: luangruo@yahoo.com, da_vid@orange.fr, larsi@gnus.org, 37473@debbugs.gnu.org, monnier@iro.umontreal.ca Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165656983017319 (code B ref 37473); Thu, 30 Jun 2022 06:18:01 +0000 Received: (at 37473) by debbugs.gnu.org; 30 Jun 2022 06:17:10 +0000 Received: from localhost ([127.0.0.1]:60836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6nUD-0004VG-OG for submit@debbugs.gnu.org; Thu, 30 Jun 2022 02:17:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6nUA-0004UN-E9 for 37473@debbugs.gnu.org; Thu, 30 Jun 2022 02:17:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6nU4-0000v1-1c; Thu, 30 Jun 2022 02:17:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ODkG/m4ALt7vFW3kkBRywxBGq1YuTMSrGjC9wwKIDYw=; b=g83n4kQWbOUi LZJDtS4bBrPa+WbeVu0QnfChkYNCCIDyXIEVYIG5kpXIN4x6ve0HLOM8PcCJkUyYy+8S7YyEIKfon 8beWeT/M5FGGd0ERPXlEM/A/LRBCi0ZC8SYiZWBohgEuABjNS4LzcaIihlyGuoj4HetnTor0EMpyD rH+uPgBtuFtacowGE9nYmvKIuCPlhr+uEPem+qCtHsgo34GRw5eBO+lV2ajNDjl5v0VFf/57RW5WX r6AhrU42wKeKWzNA2EZadE7JAFjxOA2FVwZMXcqBX4Ec3+mU2TNKdDutIl1fV4JEXnwXBIhaXfBhs fkq5DjYmM68pWG/7XPh9rg==; Received: from [87.69.77.57] (port=2903 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6nU3-0001Xs-FF; Thu, 30 Jun 2022 02:16:59 -0400 Date: Thu, 30 Jun 2022 09:17:07 +0300 Message-Id: <83fsjm65gc.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83wndbl90a.fsf@gnu.org> (message from Eli Zaretskii on Mon, 20 Jun 2022 17:11:49 +0300) References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> <87wndcxipc.fsf@yahoo.com> <837d5bmtso.fsf@gnu.org> <875ykvo7bd.fsf@yahoo.com> <831qvjmq5h.fsf@gnu.org> <87y1xrlbee.fsf@yahoo.com> <83y1xrlalf.fsf@gnu.org> <83wndbl90a.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! Kenichi, could you please chime in on this issue and help us resolve it? > Date: Mon, 20 Jun 2022 17:11:49 +0300 > From: Eli Zaretskii > Cc: da_vid@orange.fr, 37473@debbugs.gnu.org, > Stefan Monnier > > > Cc: handa@gnu.org, larsi@gnus.org, 37473@debbugs.gnu.org, da_vid@orange.fr > > Date: Mon, 20 Jun 2022 16:37:32 +0300 > > From: Eli Zaretskii > > > > > From: Po Lu > > > Cc: handa@gnu.org, da_vid@orange.fr, 37473@debbugs.gnu.org, larsi@gnus.org > > > Date: Mon, 20 Jun 2022 21:20:09 +0800 > > > > > > Eli Zaretskii writes: > > > > > > > ??? The original bug report talked about antialiasing, but it didn't > > > > say that other attributes in the :extra property don't exhibit the > > > > same issue. > > > > > > They might, but apparently :antialias is the only one to have caused > > > enough of a problem for someone to open a bug report. > > > > > > I guess copying the entire extras alist would work too, if that's what > > > you would prefer. > > > > Yes, I think that's what we should do, at least as long as the > > solution is based on this technique. > > Actually, why not go to the code we had in realize_gui_face before > commit bf0d3f7? The problem described in bug#1793, which led to that > commit, only happens if one uses a specific (misc-fixed) font family, > not for the usual default fonts used by Emacs, and I'm not sure what's > described there is a bug at all. At least for the purposes of > text-scale-adjust, it makes no sense to ignore the > foundry/family/adstyle of the original font, because we _want_ the > same (or very similar) font, just of a different size. > > And likely in other use cases: if the :font attribute of a face > specifies some font properties, we want to keep them all, not > arbitrarily to ignore some of them. And definitely catering to an > obscure use case such as the one cited in bug#17973 is NOT a good > reason to make such radical changes in face-realization behavior. > > So I think we should just back out that part of commit bf0d3f7, and if > we decide that this causes bug#17973 in too many situations we care > about, I'd rather find a kludge for that specific case than do that > for every face realization. > > Specifically, I propose the change for the master branch. Any > objections? > > diff --git a/src/xfaces.c b/src/xfaces.c > index f70fe87..10bde40 100644 > --- a/src/xfaces.c > +++ b/src/xfaces.c > @@ -5952,28 +5952,8 @@ realize_gui_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE] > emacs_abort (); > } > if (! FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) > - { > - /* We want attrs to allow overriding most elements in the > - spec (IOW, to start out as an empty font spec), but > - preserve the antialiasing attribute. (bug#17973, > - bug#37473). */ > - temp_spec = Ffont_spec (0, NULL); > - temp_extra = AREF (attrs[LFACE_FONT_INDEX], > - FONT_EXTRA_INDEX); > - /* If `:antialias' wasn't specified, keep it unspecified > - instead of changing it to nil. */ > - > - if (CONSP (temp_extra)) > - antialias = Fassq (QCantialias, temp_extra); > - else > - antialias = Qnil; > - > - if (FONTP (attrs[LFACE_FONT_INDEX]) && !NILP (antialias)) > - Ffont_put (temp_spec, QCantialias, Fcdr (antialias)); > - > - attrs[LFACE_FONT_INDEX] > - = font_load_for_lface (f, attrs, temp_spec); > - } > + attrs[LFACE_FONT_INDEX] > + = font_load_for_lface (f, attrs, attrs[LFACE_FONT_INDEX]); > if (FONT_OBJECT_P (attrs[LFACE_FONT_INDEX])) > { > face->font = XFONT_OBJECT (attrs[LFACE_FONT_INDEX]); > > > >