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#57555: 29.0.50; variable-pitch font issue with medium weight default font Date: Mon, 05 Sep 2022 18:51:02 +0300 Message-ID: <83o7vtkeft.fsf@gnu.org> References: <874jxpjl43.fsf@gnu.org> <83pmgdnfhs.fsf@gnu.org> <878rmymh9z.fsf@gnu.org> <834jxmkp9f.fsf@gnu.org> <87y1uxg8px.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3911"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57555@debbugs.gnu.org To: Amin Bandali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 17:53:53 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 1oVEQ4-0000ub-H2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 17:53:52 +0200 Original-Received: from localhost ([::1]:48720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVEQ2-0003UM-Jd for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 11:53:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVEOI-0001TQ-DV for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 11:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVEOI-0004RE-2e for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 11:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVEOH-0002fD-V3 for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 11:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Sep 2022 15:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57555 X-GNU-PR-Package: emacs Original-Received: via spool by 57555-submit@debbugs.gnu.org id=B57555.166239309110201 (code B ref 57555); Mon, 05 Sep 2022 15:52:01 +0000 Original-Received: (at 57555) by debbugs.gnu.org; 5 Sep 2022 15:51:31 +0000 Original-Received: from localhost ([127.0.0.1]:48658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVENm-0002eS-Vn for submit@debbugs.gnu.org; Mon, 05 Sep 2022 11:51:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVENl-0002eG-C5 for 57555@debbugs.gnu.org; Mon, 05 Sep 2022 11:51:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVENg-0004OG-3R for 57555@debbugs.gnu.org; Mon, 05 Sep 2022 11:51:24 -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=d+ZH7grESFqzN4wFhNbb3CMKJ9Okw9e485Z3NkOSgXc=; b=ddULREFyJJrw naqabXgM8WvWLl7Ky6aV5VmyJWRUAy4Bg0Qwnvqiizruz45CSmRKmX6Y/MvUKCWz0pFq4udC3dqgi zXPnc5NIq5Cp/+aHsYqvsYrq9t8/72LYHH7YoN8Svl68EU30QPRo2rLS+r4pBEh04UrmQwY1r6gDY uIbD+2mua6Ed6j065fpzLZqRnHrgvsP2IGvjWw1u45lZmqaSnQX1EMrNjx/rtSDp1t8lHp6Vy++HZ igInM3xneaZDCLhNYjfG2wf8piHjneRqJ2pljuS6EDMRn5aX+ItmpbY/rnGCl0XpalxVEKEqdD24E y5GZdhi75BT5+vIsPl03TA==; Original-Received: from [87.69.77.57] (port=2525 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 1oVENf-0004LO-HL; Mon, 05 Sep 2022 11:51:23 -0400 In-Reply-To: <87y1uxg8px.fsf@gnu.org> (message from Amin Bandali on Mon, 05 Sep 2022 11:08:10 -0400) 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:241573 Archived-At: > From: Amin Bandali > Cc: 57555@debbugs.gnu.org > Date: Mon, 05 Sep 2022 11:08:10 -0400 > > (when (display-graphic-p) > (set-fontset-font t 'arabic "Vazir")) > > And further down: > > (when (display-graphic-p) > (with-eval-after-load 'faces > (let ((grey "#e7e7e7")) > (set-face-attribute 'fixed-pitch nil :family "Source Code Pro") > (set-face-attribute 'mode-line nil > :background grey > :inherit 'fixed-pitch)))) Does it change anything if you remove the customization of fixed-pitch face? > > Can't you customize the variable-pitch face to specify the FreeSans > > family, or even to specify the exact font you want Emacs to use? That > > should allow you to override any built-in heuristics that Emacs uses > > when it has no other restrictions. > > > > This indeed doesn't seem to work anymore. With the following, > > (set-face-attribute 'variable-pitch nil :family "FreeSans") > > Emacs picks/uses Source Code Pro medium for variable-pitch (confirmed > visually and with describe-char), even though describe-face for > variable-pitch shows the family set as "FreeSans". This used to work > before, but not anymore. Even if you set the face's font explicitly by its full XLFD name, not implicitly via :family?