From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jesse Sheidlower Newsgroups: gmane.emacs.bugs Subject: bug#51277: 27.1; menu-set-font not loading correct font Date: Wed, 20 Oct 2021 07:30:21 -0400 Message-ID: References: <83a6j5chh9.fsf@gnu.org> <837de9c8hf.fsf@gnu.org> <83y26oc491.fsf@gnu.org> <83v91sc25x.fsf@gnu.org> <87zgr42i78.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51277@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 20 13:31:54 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 1md9p2-0009bQ-GT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 13:31:52 +0200 Original-Received: from localhost ([::1]:34990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1md9p1-00066o-CI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 07:31:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md9oF-00064C-2a for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 07:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1md9oE-0005u2-21 for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 07:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1md9oD-0004vS-T7 for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 07:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jesse Sheidlower Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Oct 2021 11:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51277 X-GNU-PR-Package: emacs Original-Received: via spool by 51277-submit@debbugs.gnu.org id=B51277.163472942316710 (code B ref 51277); Wed, 20 Oct 2021 11:31:01 +0000 Original-Received: (at 51277) by debbugs.gnu.org; 20 Oct 2021 11:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:52865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md9nb-0004LB-E5 for submit@debbugs.gnu.org; Wed, 20 Oct 2021 07:30:23 -0400 Original-Received: from mailbackend.panix.com ([166.84.1.89]:55134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md9nZ-0004JC-Rh for 51277@debbugs.gnu.org; Wed, 20 Oct 2021 07:30:22 -0400 Original-Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 4HZ7hF2f4sz2lT3; Wed, 20 Oct 2021 07:30:21 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1634729421; bh=H5SeZJ/nYg0CDsi6tjwwHUk6C26S08hmj7JVvWFDzd8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=pmGmMHBnN8HaxyVFdLn51/T3mMcIJhOCAv+kLTNfqpZlMiaGl8rIctVyzfXYmmQLG RTaRKtYymV428fP88xBKnnmj5u3DH5AarYR7e0ChWpYhvICSoxOb2z7DxUdTwBZCMs V8qj/xjAHgbuaNv2vbshXOd/rBC1LwEwfdaDuS3g= Original-Received: by panix2.panix.com (Postfix, from userid 834) id 4HZ7hF3YYtz1ZVt; Wed, 20 Oct 2021 07:30:21 -0400 (EDT) Content-Disposition: inline In-Reply-To: <87zgr42i78.fsf@gmail.com> 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:217650 Archived-At: On Wed, Oct 20, 2021 at 10:50:35AM +0200, Robert Pluim wrote: > >>>>> On Tue, 19 Oct 2021 14:17:01 -0400, Jesse Sheidlower said: > > Jesse> On Tue, Oct 19, 2021 at 09:14:34PM +0300, Eli Zaretskii wrote: > >> > Date: Tue, 19 Oct 2021 14:08:43 -0400 > >> > From: Jesse Sheidlower > >> > Cc: 51277@debbugs.gnu.org > >> > > >> > > Another thing I see is that you have 3 active font backends: xfont, > >> > > ftfont, and fcrhb. Maybe that has something to do with the issue... > >> > > >> > Is there a "best" one to use? > >> > >> That'd be fcrhb. > >> > >> > And what's the correct sequence to test this in our current framework? > >> > >> What would you like to test? > > Jesse> Whether using a single font backend will allow Emacs to find the font > Jesse> I'm trying to select. > > If you want to test restricting emacs to a single font-backend, put > something like the following in your .emacs > > (add-to-list 'default-frame-alist '(font-backend ftcrhb)) > > (and note that itʼs spelled 'ftcrhb', not 'fcrhb'). > > If the font is found with xfont or ftfont, but not with ftcrhb, that > would be somewhat surprising, given that ftcrhb finds the 'bold' version. Thank you for this. I saw that that was a way to do it, but putting it in my .emacs conflicts with running emacs -Q. But assuming that it's OK at this point to run emacs without -Q, I did try it. There is no difference in the result: whether I restrict emacs to xfont, ftfont, or ftcrhb, it still loads the "Bold" file even when I select the "Book" version from menu-set-font. Where does this leave us? It does still seem like a bug (albeit one that apparently affects very few people). Jesse