From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Gildea Newsgroups: gmane.emacs.bugs Subject: bug#58538: anti-alias fix results in ugly scaled fonts Date: Fri, 14 Oct 2022 21:07:23 -0700 Message-ID: <539369.1665806843@pental> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38686"; mail-complaints-to="usenet@ciao.gmane.io" To: 58538@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 15 06:08:26 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 1ojYTJ-0009wt-Jc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 06:08:25 +0200 Original-Received: from localhost ([::1]:42146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojYTI-00069a-6q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 00:08:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojYSx-00069C-Ew for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojYSx-0008TC-70 for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojYSw-0004s6-NQ for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Gildea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Oct 2022 04:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58538 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166580685418685 (code B ref -1); Sat, 15 Oct 2022 04:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Oct 2022 04:07:34 +0000 Original-Received: from localhost ([127.0.0.1]:39148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojYST-0004rI-PT for submit@debbugs.gnu.org; Sat, 15 Oct 2022 00:07:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojYSP-0004r8-Iv for submit@debbugs.gnu.org; Sat, 15 Oct 2022 00:07:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojYSP-00067J-A7 for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:07:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojYSO-0008RW-Ej for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:07:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59432) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojYSO-00012S-2Y for bug-emacs@gnu.org; Sat, 15 Oct 2022 00:07:28 -0400 Original-Received: from tigger.sg.gildea.net ([99.65.78.170]:59282 helo=tigger3.gildea.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojYSM-0008RK-Ge for bug-emacs@gnu.org; Sat, 15 Oct 2022 00:07:27 -0400 Original-Received: from pental.sg.gildea.net (pental.wg.gildea.net [192.168.113.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "pental-mail", Issuer "gildea.net Mail Root CA" (verified OK)) by tigger3.gildea.net (Postfix) with ESMTPS id AB70A3E1DA4 for ; Fri, 14 Oct 2022 21:07:23 -0700 (PDT) Original-Received: from pental (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by pental.sg.gildea.net (Postfix) with ESMTPS id 96E3F60C1E12 for ; Fri, 14 Oct 2022 21:07:23 -0700 (PDT) X-Mailer: MH-E 8.6+git; nmh 1.7.1; Emacs 29.0.50 Content-ID: <517170.1665805249.1@sglaptop> Received-SPF: pass client-ip=99.65.78.170; envelope-from=stepheng+emacs@gildea.com; helo=tigger3.gildea.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:245502 Archived-At: At HEAD (29.0.50), I get an ugly scaled font for my sans-serif text. I noticed it in MH-E, and you can reproduce it as follows: emacs -Q -fn fixed --eval "(buffer-face-set 'variable-pitch)" Although the default font is specified on the command line as "fixed" (from the misc-fixed X11 family of fonts), and the variable-pitch font selected is not in the misc-fixed family, having "fixed" as the default font affects the font selected for the "variable-pitch" face. Which font it selects changed recently. This bug seems to have been introduced by commit 6b1ed2f2c9, "Fix antialias face attribute when text is scaled", 27 August. In an Emacs built before that commit, the above command displays text with a pretty sans-serif font. That commit undoes some of the changes that addressed bug#17973. Bug#17973 fixed display of misc-fixed fonts. With that recent commit, using misc-fixed fonts again breaks some faces.