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#51277: 27.1; menu-set-font not loading correct font Date: Tue, 19 Oct 2021 14:08:59 +0300 Message-ID: <83v91tclv8.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38500"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51277@debbugs.gnu.org To: Jesse Sheidlower Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 19 13:09:48 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 1mcn06-0009nl-JG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 13:09:46 +0200 Original-Received: from localhost ([::1]:55290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcn05-0007VP-E9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 07:09:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcmzO-0006TC-CM for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 07:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcmzO-0004A4-2N for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 07:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcmzN-0001Pi-U6 for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 07:09: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: Tue, 19 Oct 2021 11:09: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.16346417395425 (code B ref 51277); Tue, 19 Oct 2021 11:09:01 +0000 Original-Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 11:08:59 +0000 Original-Received: from localhost ([127.0.0.1]:49621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcmzL-0001PR-0Z for submit@debbugs.gnu.org; Tue, 19 Oct 2021 07:08:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcmzI-0001PB-LN for 51277@debbugs.gnu.org; Tue, 19 Oct 2021 07:08:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49262) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcmzD-00041u-CJ; Tue, 19 Oct 2021 07:08:51 -0400 Original-Received: from [87.69.77.57] (port=4407 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 1mcmzC-00025X-V9; Tue, 19 Oct 2021 07:08:51 -0400 In-Reply-To: (message from Jesse Sheidlower on Mon, 18 Oct 2021 18:08:48 -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:217560 Archived-At: > Date: Mon, 18 Oct 2021 18:08:48 -0400 > From: Jesse Sheidlower > > emacs -Q > > M-x menu-set-font > > [navigate the menu to choose 'Operator Mono SSm Book'; the font then > changes to a bold font, not to Operator Mono SSm Book] > > M-x describe-font > > [The "name" and "full name" fields show that I have selected a 'normal' > font; however, the "file name" field shows that Emacs has loaded > OperatorMonoSSm-Bold.otf, i.e. the "bold" version, even though the > "book" version is available on the system and was in fact rendered > correctly in the menu displayed by menu-set-font.] What happens if you invoke Emacs like this: emacs -Q -fn 'Operator Mono SSm' and then type this: M-x (set-face-attribute 'default nil :weight 'book) RET Does that produce the expected effect? > There is a description of this bug, with pictures of the process, at > https://www.reddit.com/r/emacs/comments/kykma4/menusetfont_not_loading_correct_font/ > > Another user reported the same problem. Sounds like some problem with that font. Does this work correctly with other fonts that have the "book" variant?