From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59347: 29.0.50; `:family` face setting ignored Date: Tue, 22 Nov 2022 16:29:09 +0200 Message-ID: <83edtv12ru.fsf@gnu.org> References: <83bkp4bfqf.fsf@gnu.org> <83wn7s9txp.fsf@gnu.org> <83pmdk9pat.fsf@gnu.org> <83cz9j9zyu.fsf@gnu.org> <838rk77yfo.fsf@gnu.org> <834juu9aya.fsf@gnu.org> <7cc9e03786024fc72f3b@heytings.org> <83a64l65ai.fsf@gnu.org> <7cc9e0378678a092e6ee@heytings.org> <835yf962q4.fsf@gnu.org> <7cc9e03786754c9e0aaf@heytings.org> <83zgcl4jra.fsf@gnu.org> <7cc9e03786c281cffdd4@heytings.org> <83tu2t4ie9.fsf@gnu.org> <7cc9e03786e324ff82ef@heytings.org> <83bkp04gjl.fsf@gnu.org> <83leo42vm9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 59347@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 22 15:30:24 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 1oxUI4-0001PR-4F for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Nov 2022 15:30:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxUHl-00054I-Rs; Tue, 22 Nov 2022 09:30:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxUHj-0004z3-FS for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 09:30:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxUHj-0007ru-6I for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 09:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxUHj-0002EE-1F for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2022 09:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Nov 2022 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59347 X-GNU-PR-Package: emacs Original-Received: via spool by 59347-submit@debbugs.gnu.org id=B59347.16691273448475 (code B ref 59347); Tue, 22 Nov 2022 14:30:02 +0000 Original-Received: (at 59347) by debbugs.gnu.org; 22 Nov 2022 14:29:04 +0000 Original-Received: from localhost ([127.0.0.1]:50301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxUGm-0002Cc-6L for submit@debbugs.gnu.org; Tue, 22 Nov 2022 09:29:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxUGk-0002CI-BE for 59347@debbugs.gnu.org; Tue, 22 Nov 2022 09:29:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxUGe-0007h8-0Z; Tue, 22 Nov 2022 09:28:56 -0500 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=PBmWLMfTskF2fBs9s2He4INsusKWr/RlGjIdTrcGaAw=; b=AtT7xasDSRU/ BTySO3H2whg1K1hjEA1ecWqtiH1cUl4hB6lG8BWdr9aEXqxIkvYia0m4HbeqAIwaxd4Xzp6TcNN2j /5HXiJ9l/e87OrgI73Ztg7m6gzLpEOXvjjKACk4/CzEL7uJdzqc0HJ1QNmy+DxJpuOe9XzsLbTVDK zQrB6EeH6I9aygG27opSpkEDu/CSdHBpGrJstg2MiXLie7jaCo16AuCOoSegpRFAaMt8DSAUYf9zz mk0WEzecG2EmL3hYpdzfk0PI5fouJwOEnjwj08M2LmoN27RlHI+Kgi0Ktvii1AcD57Odr/dZISmTn BTVMGAXMvr4uHc26937Ngg==; Original-Received: from [87.69.77.57] (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 1oxUGd-0006BC-8d; Tue, 22 Nov 2022 09:28:55 -0500 In-Reply-To: (message from Gregory Heytings on Mon, 21 Nov 2022 23:34:18 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248641 Archived-At: > Date: Mon, 21 Nov 2022 23:34:18 +0000 > From: Gregory Heytings > cc: monnier@iro.umontreal.ca, 59347@debbugs.gnu.org > > With current master, the variable-pitch face is realized as follows: > > - with 1-3: -ADBO-Source Code Pro-black-normal-normal-*-29-*-*-*-m-0-iso10646-1, which is a monospace font > > - with 4: -PfEd-DejaVu Sans-bold-normal-normal-*-29-*-*-*-*-0-iso10646-1, which is a variable pitch font > > - with 5: -ADBO-Source Code Pro-semibold-normal-normal-*-29-*-*-*-m-0-iso10646-1, which is again a monospace font > > - with 6: -urw-nimbus sans l-regular-r-normal--29-210-100-100-p-158-iso8859-1, which is a variable pitch font but without anti-aliasing > > - with 7: -PfEd-DejaVu Sans-regular-normal-normal-*-29-*-*-*-*-0-iso10646-1, which is a variable pitch font > > - with 8-9: -ADBO-Source Code Pro-light-normal-normal-*-29-*-*-*-m-0-iso10646-1, which is again a monospace font > > - with 10-11: -PfEd-DejaVu Sans-ultralight-normal-normal-*-29-*-*-*-*-0-iso10646-1, which is a variable pitch font > > That can't be right. Only 4, 7, and 10-11 correspond to what is expected > for that face, namely a variable pitch font. Why do you expect to get a variable pitch font? We don't have any way of expressing that in font attributes, do we? Emacs tries to find a font from the same family, but if that fails for some reason, all bets are off wrt whether the font we find will be variable-pitch or not. Or what am I missing?