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#51768: 29.0.50; User font settings are ignored (Win10) Date: Thu, 11 Nov 2021 20:46:12 +0200 Message-ID: <83sfw2zg23.fsf@gnu.org> References: <86v90y7mbb.fsf@gnu.org> <8335o21vai.fsf@gnu.org> <86zgqaoa01.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51768@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 11 19:48:23 2021 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 1mlF7X-0007cf-4S for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Nov 2021 19:48:23 +0100 Original-Received: from localhost ([::1]:53814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlF7W-00043u-1V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Nov 2021 13:48:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlF6E-0003IS-IZ for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 13:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlF6E-0001g1-5f for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 13:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlF6E-0006l2-2d for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 13:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Nov 2021 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51768 X-GNU-PR-Package: emacs Original-Received: via spool by 51768-submit@debbugs.gnu.org id=B51768.163665639325935 (code B ref 51768); Thu, 11 Nov 2021 18:47:02 +0000 Original-Received: (at 51768) by debbugs.gnu.org; 11 Nov 2021 18:46:33 +0000 Original-Received: from localhost ([127.0.0.1]:42248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlF5l-0006kE-3o for submit@debbugs.gnu.org; Thu, 11 Nov 2021 13:46:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlF5i-0006k0-OC for 51768@debbugs.gnu.org; Thu, 11 Nov 2021 13:46:31 -0500 Original-Received: from [2001:470:142:3::e] (port=39684 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlF5W-0001QG-2V for 51768@debbugs.gnu.org; Thu, 11 Nov 2021 13:46:19 -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=ONKj0MFu69ebLpIGg2RxuQGZS4gtQGoKxcVqLSjuyao=; b=U0oG0xl6QCod Q6+4t37U7qLuB53wGUHnzey4/HlOyneJVCD2mMLTTfdH5vnIRpR/UjeOhxiKwVBHNyCimWjGtfn/r fs1hdYP00zNsy6p7OCQu3YxPNQjU7pKzyb0kiKgZMfT070czi9lkU97Ds7HDi9XU+04DAVQCco8+Q PayPPWxFw8ZwU3zfo1arxGoVIiFzEyc62KkDZ9HPvfIGBe9vzX9BB2GzM4T/5fNRWWd8Ecrie6zLg sCrCtDLdL11NjX+GlLgzDH+qkhokPpyzcdY6TIbq710FqXKYxZqIflYDdelZPa0pR9PFk2wNp09/J vZgHlQBUHbf9hRfC1Dcixw==; Original-Received: from [87.69.77.57] (port=3946 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 1mlF5U-0000FO-J5; Thu, 11 Nov 2021 13:46:16 -0500 In-Reply-To: <86zgqaoa01.fsf@gnu.org> (message from Arash Esbati on Thu, 11 Nov 2021 18:52:30 +0100) 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:219674 Archived-At: > From: Arash Esbati > Cc: 51768@debbugs.gnu.org > Date: Thu, 11 Nov 2021 18:52:30 +0100 > > >> (custom-set-faces > >> ;; custom-set-faces was added by Custom. > >> ;; If you edit it by hand, you could mess it up, so be careful. > >> ;; Your init file should contain only one such instance. > >> ;; If there is more than one, they won't work right. > >> '(default ((t (:family "Source Code Pro Medium" :foundry "outline" > >> :slant normal :weight medium :height 90 :width normal)))) > >> '(fixed-pitch ((t (:inherity default))))) > >> > >> Emacs from master (3e23494394) ignores these settings and starts with > >> Arial which looks likte this: > > > > If you revert commit 32086ea23, does the problem go away? > > Yes, it does. I did > > git checkout a491b73c765adde894acdbafc6fd97edd4343c2c > > and built again. Font settings are respected. I think I figured it out. It seems to be a cockpit error: the "Medium" part is not part of the :family, and you already say ":weight medium" in the attributes anyway. Try this instead: '(default ((t (:family "Source Code Pro" :foundry "outline" :slant normal :weight medium :height 90 :width normal)))) With this, I get the same results as with an older Emacs. It is true that the older Emacs also accepted "Source Code Pro Medium" as the family, but the result was that it loaded the same font as the master branch without "Medium". Does this resolve your issue?