From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#37473: 27.0.50; antialias setting is not preserved by, inheriting Date: Mon, 20 Jun 2022 00:47:39 +0200 Message-ID: <874k0gtgms.fsf@gnus.org> References: <466d6eb8-b02f-9e49-6c79-95c5fa3d7252@orange.fr> <83k09cmpn6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38139"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Po Lu , David Ponce , 37473@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 00:48:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o33iG-0009jT-1N for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 00:48:12 +0200 Original-Received: from localhost ([::1]:54262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o33iE-0002ls-Ak for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jun 2022 18:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o33i6-0002lg-1u for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 18:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o33i5-0005Lg-Q5 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 18:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o33i5-0006LP-KT for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 18:48:01 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 37473-submit@debbugs.gnu.org id=B37473.165567887124326 (code B ref 37473); Sun, 19 Jun 2022 22:48:01 +0000 Original-Received: (at 37473) by debbugs.gnu.org; 19 Jun 2022 22:47:51 +0000 Original-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 Original-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=; Original-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 In-Reply-To: <83k09cmpn6.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Jun 2022 22:14:53 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234820 Archived-At: 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