GNU bug report logs - #51277
27.1; menu-set-font not loading correct font

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jesse Sheidlower <jester@HIDDEN>; dated Mon, 18 Oct 2021 22:09:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 20 Oct 2021 15:13:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 11:13:10 2021
Received: from localhost ([127.0.0.1]:55203 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdDHC-00009z-MX
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 11:13:10 -0400
Received: from quimby.gnus.org ([95.216.78.240]:48560)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mdDHB-00009l-0E
 for 51277 <at> debbugs.gnu.org; Wed, 20 Oct 2021 11:13:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=r6CrJotyf0iVNE1NUe+zKMjP9lFA3cqAghD0kNmTaZk=; b=s/W62/JrfWMkEg/EmSG9+DQoXR
 DEXaksicec6pczG+3QqUhZXE8jXfKnlseR+gFygo9l4X2Ja6L46/BnqIeQrQlWkC7sCmgeV91exHR
 gXXreVnYKAAsAGhrsI0qRUn3ydt2AvERrx7o6TYFqwWURZ4bmRvY7Eks+VbqRC8/ClRM=;
Received: from [84.212.220.105] (helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mdDH1-0000QM-6g; Wed, 20 Oct 2021 17:13:01 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
 <YW8Jq2ZxuAtU5s2i@HIDDEN> <83v91sc25x.fsf@HIDDEN>
 <YW8LnXqE+YuNv4jq@HIDDEN> <87zgr42i78.fsf@HIDDEN>
 <YW/9zZLNtEsc/jWG@HIDDEN> <83cznzc1p8.fsf@HIDDEN>
 <87ee8f3fk0.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEWhlEBJRSr////o
 CFXIAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAABLAAAASwAc4jpUgAAAAd0SU1FB+UKFA4XIsXrEIAA
 AADgSURBVCjPdZLRCgQhCEUVxneD/J+CejfI//+VtWxmdx9GmMHDvZlKAO+BdqKcXG/4U9AUqDEt
 oF+F0r/tR3kFfAXg0Ut5musi30Yzj6/CYz4CjJ7KA/XqkWxI0h+lpbTu4OXFBmukAL4AJwNyO6Db
 vsA/5QMrSI/trvoDDNz4htZS1kgzSascgF0HVw24xGQ03b1zrdV6juGv7OvIqe4Ta0E6B22lqBjV
 HqWzFDSxPQNQ8Q3aPNvz7Yhp1XONhwSg22xaiQ6WQoanUS8gdmz+p/UaQvBbux+7h55kou9v6gPB
 V0n+mfEx0AAAAFplWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAAB
 AAAAUgEoAAMAAAABAAEAAAITAAMAAAABAAEAAAAAAAAAAAEsAAAAAQAAASwAAAABYCqauwAAACV0
 RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMC0yMFQxNDoyMzozNCswMDowMD7CA2EAAAAldEVYdGRhdGU6
 bW9kaWZ5ADIwMjEtMTAtMjBUMTQ6MjM6MzQrMDA6MDBPn7vdAAAAF3RFWHRleGlmOllDYkNyUG9z
 aXRpb25pbmcAMawPgGMAAAAASUVORK5CYII=
X-Now-Playing: 15 16 17 - =?utf-8?B?4oCYRW1vdGlvbuKAmQ==?= (Dennis Bovell
 Remix) (Exclusive
 remix)'s _Late Night Tales: Version Excursions (Selected By Don Letts)_:
 "Originally recorded by Samantha Sang"
Date: Wed, 20 Oct 2021 17:12:58 +0200
In-Reply-To: <87ee8f3fk0.fsf@HIDDEN> (Robert Pluim's message of "Wed, 20
 Oct 2021 17:02:23 +0200")
Message-ID: <87wnm7log5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Robert Pluim <rpluim@HIDDEN> writes: > This means we
 should
 adjust XG_WEIGHT_TO_SYMBOL. It currently assigns > anything in the range
 <100-200] to 'light', which just seems wrong. Yup! I'm working on exactly
 that in bug#32210, and it now works for the test cases there (i.e., mapping
 normal and medium and book correctly). It's a work in progress, but it's
 looking hopeful. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51277
Cc: Eli Zaretskii <eliz@HIDDEN>, Jesse Sheidlower <jester@HIDDEN>,
 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim <rpluim@HIDDEN> writes:

> This means we should adjust XG_WEIGHT_TO_SYMBOL. It currently assigns
> anything in the range <100-200] to 'light', which just seems wrong.

Yup!  I'm working on exactly that in bug#32210, and it now works for the
test cases there (i.e., mapping normal and medium and book correctly).
It's a work in progress, but it's looking hopeful.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 20 Oct 2021 15:02:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 11:02:33 2021
Received: from localhost ([127.0.0.1]:55147 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdD6v-00086b-9F
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 11:02:33 -0400
Received: from mail-wm1-f52.google.com ([209.85.128.52]:40754)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1mdD6t-00081e-O2
 for 51277 <at> debbugs.gnu.org; Wed, 20 Oct 2021 11:02:32 -0400
Received: by mail-wm1-f52.google.com with SMTP id
 186-20020a1c01c3000000b0030d8315b593so2380041wmb.5
 for <51277 <at> debbugs.gnu.org>; Wed, 20 Oct 2021 08:02:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=5Zr927EUJ3V3xWMEccIuzxsvfmfvg7bUrLWysxqcKQw=;
 b=mfA4SrO0AwZ5SRWE17bOR5RDw/n9blnlybBBrMMRC0eqWtxh1Nq8JhPPcP0d2fGZJE
 LO+bZjm0oc3LB9UuQ9yJsLtuDpunzikARSweXO/I/G9WjwaEz/jFoKg7RTVpk9LU9z/5
 RChF+s12Hy97iU9j+jg9g2Fkjxl73l3gEnVnq+yzTWYsQuX23J4bLTCSKUPzYphKJz0K
 txWZzpttCI0mftex8GRKkqXo8ObdWo8zF0Baw+Rd2FbRvESzaiu/XwULsu5KAxRSM1Sv
 hZ/Kq8UErl0K57120ETgvAbHVQBX8VkfE5ZqloNR4PzDy9fTeyJfsMW2XkleOmC8mVd1
 MRcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=5Zr927EUJ3V3xWMEccIuzxsvfmfvg7bUrLWysxqcKQw=;
 b=BnLbNFe/9AIZZZlGAyCf5ZmsFytFG9+VAy5wPSC8L0E7qAYYrK7d39GMSGGAqXhhZy
 /qPIJLI9+S1kxYwU3wRxSsCspAKP9d1MWMzFeyEJZakx+kZln/nhkNBFM/2aPOmZd0Ji
 j5s1+Dm8EzdtKOE6uhVv+rAaIXTl2zpNQooMIPVJDO1BsFJi9ojyHmxwgVF+fEfpE9or
 Vx9/R/4zwgJ4lTuK7W/vGXkER9tHvj08mMCMXSQJGLmC9+F8rXumnNe2z9WL78sALak6
 UbbhxwMmgAgWHTX+iHTyTyg/bOjH8qLyOsmgVghSBE2pTvOSW5m9GFeZgqobg6ls1E3j
 BKLg==
X-Gm-Message-State: AOAM530/JFOkOZyTs17o4dycGmTUQ81Ij1/FjbiNcU1q7XxkO0F7LSE/
 V71A5X77xWLYekwGWwAYFtsFO1ikzV4=
X-Google-Smtp-Source: ABdhPJwJJoxqRPthGC2PuRz+o/Cf0thKtkAjWX4G67wLRFLJy23OGAjQOxm9Htr4yZ1pSIpUqSOgBQ==
X-Received: by 2002:a5d:630b:: with SMTP id i11mr264776wru.65.1634742145341;
 Wed, 20 Oct 2021 08:02:25 -0700 (PDT)
Received: from rltb ([82.66.8.55])
 by smtp.gmail.com with ESMTPSA id k27sm2152042wms.21.2021.10.20.08.02.23
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 20 Oct 2021 08:02:24 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
 <YW8Jq2ZxuAtU5s2i@HIDDEN> <83v91sc25x.fsf@HIDDEN>
 <YW8LnXqE+YuNv4jq@HIDDEN> <87zgr42i78.fsf@HIDDEN>
 <YW/9zZLNtEsc/jWG@HIDDEN> <83cznzc1p8.fsf@HIDDEN>
Date: Wed, 20 Oct 2021 17:02:23 +0200
In-Reply-To: <83cznzc1p8.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 20 Oct
 2021 15:36:51 +0300")
Message-ID: <87ee8f3fk0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51277
Cc: Jesse Sheidlower <jester@HIDDEN>, 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Wed, 20 Oct 2021 15:36:51 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    >> Date: Wed, 20 Oct 2021 07:30:21 -0400
    >> From: Jesse Sheidlower <jester@HIDDEN>
    >> Cc: Eli Zaretskii <eliz@HIDDEN>, 51277 <at> debbugs.gnu.org
    >>=20
    >> There is no difference in the result: whether I restrict emacs to xf=
ont,
    >> ftfont, or ftcrhb, it still loads the "Bold" file even when I select=
 the
    >> "Book" version from menu-set-font.
    >>=20
    >> Where does this leave us? It does still seem like a bug (albeit one =
that
    >> apparently affects very few people).

    Eli> Are you familiar with debugging with Edebug and/or with running Em=
acs
    Eli> under GDB?  If so, perhaps you could step into the relevant code a=
nd
    Eli> tell us what happens there with this font, so we could understand =
the
    Eli> root cause(s) of this.

tl;dr font weight handling is a mess

    Eli> Or maybe someone else who can install that font and sees the probl=
em
    Eli> could do that.

I=CA=BCve installed the fonts in question, and I can reproduce the
issue. What I see:

- the GTK font selector lets us choose 'Operator Mono Book'
- the resulting weight according to Pango is '330', which we map to
  'normal' [1]

Comparing that to what 'fc-match' tells us:

    $ fc-match 'operator mono:weight=3D330'
    FontsFree-Net-OperatorMono-Bold.ttf: "Operator Mono" "Bold"

    $ fc-match 'operator mono'
    FontsFree-Net-OperatorMono-Bold.ttf: "Operator Mono" "Bold"

    $ fc-match 'operator mono:style=3Dbook'
    FontsFree-Net-OperatorMono-Book.ttf: "Operator Mono" "Book"

    $ fc-match 'operator mono:light'
    FontsFree-Net-OperatorMono-Book.ttf: "Operator Mono" "Book"

So I=CA=BCd be willing to point the finger at the font here, except that
with gedit, when I select 'Operator Mono Book', I get the 'book'
version, not 'bold'.

I then cavalierly hardcoded the weight we request to '200', which
results in us asking for 'light', and then we correctly use the 'Book'
version of the font.

This means we should adjust XG_WEIGHT_TO_SYMBOL. It currently assigns
anything in the range <100-200] to 'light', which just seems wrong. It
all depends whether the fixed values are the start or the end of the
range, but would it not make more sense to have 'light' be used for
the range [300-350> which corresponds to
[PANGO_WEIGHT_LIGHT-PANGO_WEIGHT_SEMILIGHT> ? [2]

Robert

Footnotes:
[1]  According to the pango headers, 'book' =3D=3D 380

[2]  I=CA=BCll note that 'w32_to_fc_weight' uses the various FW_* constants
     as the start of the respective range, not the end

--=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 20 Oct 2021 12:36:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 08:36:49 2021
Received: from localhost ([127.0.0.1]:52963 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdAps-0007rY-RY
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 08:36:49 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47712)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mdApq-0007rM-Pb
 for 51277 <at> debbugs.gnu.org; Wed, 20 Oct 2021 08:36:47 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37288)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mdApk-0002w8-UC; Wed, 20 Oct 2021 08:36:41 -0400
Received: from [87.69.77.57] (port=3026 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mdApk-0001ru-6C; Wed, 20 Oct 2021 08:36:40 -0400
Date: Wed, 20 Oct 2021 15:36:51 +0300
Message-Id: <83cznzc1p8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jesse Sheidlower <jester@HIDDEN>
In-Reply-To: <YW/9zZLNtEsc/jWG@HIDDEN> (message from Jesse Sheidlower on
 Wed, 20 Oct 2021 07:30:21 -0400)
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
 <YW8Jq2ZxuAtU5s2i@HIDDEN> <83v91sc25x.fsf@HIDDEN>
 <YW8LnXqE+YuNv4jq@HIDDEN>
 <87zgr42i78.fsf@HIDDEN> <YW/9zZLNtEsc/jWG@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51277
Cc: rpluim@HIDDEN, 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Wed, 20 Oct 2021 07:30:21 -0400
> From: Jesse Sheidlower <jester@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, 51277 <at> debbugs.gnu.org
> 
> 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).

Are you familiar with debugging with Edebug and/or with running Emacs
under GDB?  If so, perhaps you could step into the relevant code and
tell us what happens there with this font, so we could understand the
root cause(s) of this.

Or maybe someone else who can install that font and sees the problem
could do that.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 20 Oct 2021 12:31:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 08:31:47 2021
Received: from localhost ([127.0.0.1]:52958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdAl1-0007k1-8m
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 08:31:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46352)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mdAkz-0007jm-Nf
 for 51277 <at> debbugs.gnu.org; Wed, 20 Oct 2021 08:31:46 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36994)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mdAku-0006he-2m; Wed, 20 Oct 2021 08:31:40 -0400
Received: from [87.69.77.57] (port=2714 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mdAkr-0002mD-Sh; Wed, 20 Oct 2021 08:31:38 -0400
Date: Wed, 20 Oct 2021 15:31:48 +0300
Message-Id: <83ee8fc1xn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87zgr42i78.fsf@HIDDEN> (message from Robert Pluim on Wed, 20
 Oct 2021 10:50:35 +0200)
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
 <YW8Jq2ZxuAtU5s2i@HIDDEN> <83v91sc25x.fsf@HIDDEN>
 <YW8LnXqE+YuNv4jq@HIDDEN> <87zgr42i78.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51277
Cc: jester@HIDDEN, 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  51277 <at> debbugs.gnu.org
> Date: Wed, 20 Oct 2021 10:50:35 +0200
> 
> 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))

Or invoke Emacs like this:

  emacs -xrm Emacs.fontBackend:ftcrhb

> (and note that itʼs spelled 'ftcrhb', not 'fcrhb').

Sorry about that.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 20 Oct 2021 11:30:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 07:30:23 2021
Received: from localhost ([127.0.0.1]:52865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1md9nb-0004LB-E5
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 07:30:23 -0400
Received: from mailbackend.panix.com ([166.84.1.89]:55134)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jester@HIDDEN>) id 1md9nZ-0004JC-Rh
 for 51277 <at> debbugs.gnu.org; Wed, 20 Oct 2021 07:30:22 -0400
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=
Received: by panix2.panix.com (Postfix, from userid 834)
 id 4HZ7hF3YYtz1ZVt; Wed, 20 Oct 2021 07:30:21 -0400 (EDT)
Date: Wed, 20 Oct 2021 07:30:21 -0400
From: Jesse Sheidlower <jester@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
Message-ID: <YW/9zZLNtEsc/jWG@HIDDEN>
References: <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
 <YW8Jq2ZxuAtU5s2i@HIDDEN> <83v91sc25x.fsf@HIDDEN>
 <YW8LnXqE+YuNv4jq@HIDDEN> <87zgr42i78.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87zgr42i78.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 51277
Cc: Eli Zaretskii <eliz@HIDDEN>, 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Wed, Oct 20, 2021 at 10:50:35AM +0200, Robert Pluim wrote:
> >>>>> On Tue, 19 Oct 2021 14:17:01 -0400, Jesse Sheidlower <jester@HIDDEN> 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 <jester@HIDDEN>
>     >> > Cc: 51277 <at> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 20 Oct 2021 08:50:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 04:50:44 2021
Received: from localhost ([127.0.0.1]:52694 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1md7J6-0003w8-9O
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 04:50:44 -0400
Received: from mail-wm1-f51.google.com ([209.85.128.51]:35790)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1md7J5-0003vw-3O
 for 51277 <at> debbugs.gnu.org; Wed, 20 Oct 2021 04:50:43 -0400
Received: by mail-wm1-f51.google.com with SMTP id
 n40-20020a05600c3ba800b0030da2439b21so9449707wms.0
 for <51277 <at> debbugs.gnu.org>; Wed, 20 Oct 2021 01:50:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=SBPoD/MHF2a+6BsELhznhyNGsfsdc//I+68Fww3IRVE=;
 b=lvXm3pwDCqJrBENkbKKCNSWb6/zYdvxt9r8uYhKS8C0C17G9LbQv1Q8X9VrilOIewe
 TEBIHIZn9AVAU5DOmt53MatSf/CBXyVgtCAkjKUtqE1KH1NtTGZMp7EbM/9Tz60k7gpD
 +zff+d6oOhohLjJbezd+kAe47Wv27ive7lJUQvnRxWox7JgkUdGL9k2ZPSd4BiPfIqnJ
 ScJxYPDhh6H/pkCAQ27C2RfyTv98ylHOiDXfBTn3/wpbRFB4GnByYljSyEf9E2fiLOt2
 y5nmzFcnfVdw9Q2Xt+R3e/f7e4tDKkDJ7ebxdMi6DUCCcZSKE85mqoyg/bsSSvHzH4rZ
 KQbw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=SBPoD/MHF2a+6BsELhznhyNGsfsdc//I+68Fww3IRVE=;
 b=BU8X4cnw0dZRlM6ujpKeMjd87X2Jz8Cyj7CHrgioBXQPUAEUpdE/oBPGd16K9aStly
 ui/seLaCegMffE9yC+7p1f4PiQuoPlREUNnQxw/SyAeSZyMLEzHMP+YSIiqOUyr5mDYQ
 WegPmjCgEZuxdUjT7boL0hm92vHXwKBUQY8X0oI0A12YmfN4kryJjKNKpUD71fv18ldW
 KPE3vtw+CpqC+2zgqtR60++uIZ/de7mJn8oLnmUMMKZXma629aOp2aJQ3emmpX4nqNkA
 iUs1AUTsyhGxscZAsf4gu7eQ0pG8Dr6AZa9Y6jqoSkpTxa0GDSZZctMOOh0FX+VvvbwN
 koOQ==
X-Gm-Message-State: AOAM5307t7iIYxmRnYsOw/4Feg1PNTwhykutboVVtcUG1aREnZn3Hbbt
 W6Jm/YdWz/QHaFcvqtGpEL6h7p5KcrI=
X-Google-Smtp-Source: ABdhPJwF6XwBVtBhBEzI2EKY29yVx8FvvRjVAj46rdEy47sG6WxlZvX0SytD1dQm0L8xQPLsdhSrGA==
X-Received: by 2002:a1c:2282:: with SMTP id
 i124mr11520346wmi.164.1634719836752; 
 Wed, 20 Oct 2021 01:50:36 -0700 (PDT)
Received: from rltb ([82.66.8.55])
 by smtp.gmail.com with ESMTPSA id u13sm1432212wri.50.2021.10.20.01.50.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 20 Oct 2021 01:50:36 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Jesse Sheidlower <jester@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
 <YW8Jq2ZxuAtU5s2i@HIDDEN> <83v91sc25x.fsf@HIDDEN>
 <YW8LnXqE+YuNv4jq@HIDDEN>
Date: Wed, 20 Oct 2021 10:50:35 +0200
In-Reply-To: <YW8LnXqE+YuNv4jq@HIDDEN> (Jesse Sheidlower's message of "Tue, 
 19 Oct 2021 14:17:01 -0400")
Message-ID: <87zgr42i78.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51277
Cc: Eli Zaretskii <eliz@HIDDEN>, 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Tue, 19 Oct 2021 14:17:01 -0400, Jesse Sheidlower <jester@HIDDEN=
m> 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 <jester@HIDDEN>
    >> > Cc: 51277 <at> debbugs.gnu.org
    >> >=20
    >> > > Another thing I see is that you have 3 active font backends: xfo=
nt,
    >> > > ftfont, and fcrhb.  Maybe that has something to do with the issu=
e...
    >> >=20
    >> > Is there a "best" one to use?
    >>=20
    >> That'd be fcrhb.
    >>=20
    >> > And what's the correct sequence to test this in our current framew=
ork?
    >>=20
    >> 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=CA=BCs 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.

Robert
--=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 18:17:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 14:17:03 2021
Received: from localhost ([127.0.0.1]:51961 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mctfb-0001ju-6H
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 14:17:03 -0400
Received: from mailbackend.panix.com ([166.84.1.89]:14254)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jester@HIDDEN>) id 1mctfZ-0001iF-LD
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 14:17:02 -0400
Received: from panix2.panix.com (panix2.panix.com [166.84.1.2])
 by mailbackend.panix.com (Postfix) with ESMTP id 4HYhlx2JsQz2wvf;
 Tue, 19 Oct 2021 14:17:01 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix;
 t=1634667421; bh=THrYyWNUHOS6j0FKA1HC2G3Y4cF3sejqX+qHgbEkako=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=uhaQWrw2IfvfL+v/D8wpA5Ml8WkjHduzjWu0nKDl3N5CqqtPLHPiDV8uI8IWkKQSC
 reSsL+QIfZx/YmVBVrv0H+27U9wEZWxaSFgOt5o4uqi/6GglxmRUZWtlaNpkf6hQct
 n5zINRw7y6Fsm+5Na0rcdnBNIhyHI54PvRzz8sjc=
Received: by panix2.panix.com (Postfix, from userid 834)
 id 4HYhlx4DYyz1ZVd; Tue, 19 Oct 2021 14:17:01 -0400 (EDT)
Date: Tue, 19 Oct 2021 14:17:01 -0400
From: Jesse Sheidlower <jester@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
Message-ID: <YW8LnXqE+YuNv4jq@HIDDEN>
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
 <YW8Jq2ZxuAtU5s2i@HIDDEN> <83v91sc25x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <83v91sc25x.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

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 <jester@HIDDEN>
> > Cc: 51277 <at> 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?

Whether using a single font backend will allow Emacs to find the font I'm trying to select.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 18:14:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 14:14:42 2021
Received: from localhost ([127.0.0.1]:51946 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mctdK-0008RJ-7E
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 14:14:42 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37392)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mctd9-0008Qg-9d
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 14:14:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34518)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mctd4-0006ZK-2I; Tue, 19 Oct 2021 14:14:26 -0400
Received: from [87.69.77.57] (port=2946 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mctd3-0001CP-Fq; Tue, 19 Oct 2021 14:14:25 -0400
Date: Tue, 19 Oct 2021 21:14:34 +0300
Message-Id: <83v91sc25x.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jesse Sheidlower <jester@HIDDEN>
In-Reply-To: <YW8Jq2ZxuAtU5s2i@HIDDEN> (message from Jesse Sheidlower on
 Tue, 19 Oct 2021 14:08:43 -0400)
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN>
 <83y26oc491.fsf@HIDDEN> <YW8Jq2ZxuAtU5s2i@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 19 Oct 2021 14:08:43 -0400
> From: Jesse Sheidlower <jester@HIDDEN>
> Cc: 51277 <at> 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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 18:08:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 14:08:47 2021
Received: from localhost ([127.0.0.1]:51932 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mctXb-0008IW-4j
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 14:08:47 -0400
Received: from mailbackend.panix.com ([166.84.1.89]:10770)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jester@HIDDEN>) id 1mctXY-0008IN-6z
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 14:08:45 -0400
Received: from panix2.panix.com (panix2.panix.com [166.84.1.2])
 by mailbackend.panix.com (Postfix) with ESMTP id 4HYhZM66jjz2wF7;
 Tue, 19 Oct 2021 14:08:43 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix;
 t=1634666923; bh=yhMcszkudSrhHZ4eg7N7rmfXJuUKKDQFiHJ3X5Rum/8=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=eDMMVQGGlVkvBhLuqVt0qcV7OeyRBgWWFOZTk+ggZoqaQUh3C3J44PR+7keE8HTgb
 pOFagzFEDes9KOEgSzWBLAoFr8PHWiU1IbE4iMLNXyhiT3d/oPkrXB52FPzQNFuK1I
 /D3BlJRox++rcGcjuLSiTKPBCgJeA1M8zm1U2eFQ=
Received: by panix2.panix.com (Postfix, from userid 834)
 id 4HYhZM6NM2z1ZVd; Tue, 19 Oct 2021 14:08:43 -0400 (EDT)
Date: Tue, 19 Oct 2021 14:08:43 -0400
From: Jesse Sheidlower <jester@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
Message-ID: <YW8Jq2ZxuAtU5s2i@HIDDEN>
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
 <YW72q2T3r7UoLYoW@HIDDEN> <83y26oc491.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <83y26oc491.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Tue, Oct 19, 2021 at 08:29:30PM +0300, Eli Zaretskii wrote:
> > Date: Tue, 19 Oct 2021 12:47:39 -0400
> > From: Jesse Sheidlower <jester@HIDDEN>
> > Cc: 51277 <at> debbugs.gnu.org
> > 
> > >   (pp font-log) C-j
> > > 
> > > where C-j should be typed with cursor after the closing paren of
> > > "(pp font-log)".  Then post the result here.
> > 
> > OK, just to clarify, I ran this command immediately after selecting the "Book" font from menu-set-font, and incorrectly getting the bold font. I did not then run the set-face-attribute command discussed above. The result was:
> > 
> > 
> > (pp font-log) 
> > ((sort-by "-*-bold-normal-normal-*-22-*" "ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1")
> >  (list "-H&Co-Operator Mono SSm-*-iso8859-1"
> >        ["-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"])
> 
> Thanks, the only thing I find strange here is that Emacs never tries
> to look for "book" font, nor even under one of its aliases.
> 
> 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? And what's the correct sequence to test this in our current framework?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 17:29:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 13:29:46 2021
Received: from localhost ([127.0.0.1]:51887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mcsvp-0007Hz-HJ
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 13:29:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mcsvZ-0007HK-Gm
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 13:29:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60652)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mcsvT-0005Xf-JV; Tue, 19 Oct 2021 13:29:23 -0400
Received: from [87.69.77.57] (port=4160 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mcsvT-0000dE-4T; Tue, 19 Oct 2021 13:29:23 -0400
Date: Tue, 19 Oct 2021 20:29:30 +0300
Message-Id: <83y26oc491.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jesse Sheidlower <jester@HIDDEN>
In-Reply-To: <YW72q2T3r7UoLYoW@HIDDEN> (message from Jesse Sheidlower on
 Tue, 19 Oct 2021 12:47:39 -0400)
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN>
 <837de9c8hf.fsf@HIDDEN> <YW72q2T3r7UoLYoW@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 19 Oct 2021 12:47:39 -0400
> From: Jesse Sheidlower <jester@HIDDEN>
> Cc: 51277 <at> debbugs.gnu.org
> 
> >   (pp font-log) C-j
> > 
> > where C-j should be typed with cursor after the closing paren of
> > "(pp font-log)".  Then post the result here.
> 
> OK, just to clarify, I ran this command immediately after selecting the "Book" font from menu-set-font, and incorrectly getting the bold font. I did not then run the set-face-attribute command discussed above. The result was:
> 
> 
> (pp font-log) 
> ((sort-by "-*-bold-normal-normal-*-22-*" "ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1")
>  (list "-H&Co-Operator Mono SSm-*-iso8859-1"
>        ["-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"])

Thanks, the only thing I find strange here is that Emacs never tries
to look for "book" font, nor even under one of its aliases.

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...




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 16:47:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 12:47:43 2021
Received: from localhost ([127.0.0.1]:51832 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mcsH8-0006Gb-18
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 12:47:43 -0400
Received: from mailbackend.panix.com ([166.84.1.89]:33471)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jester@HIDDEN>) id 1mcsH6-0006GK-4d
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 12:47:41 -0400
Received: from panix2.panix.com (panix2.panix.com [166.84.1.2])
 by mailbackend.panix.com (Postfix) with ESMTP id 4HYfmq5mDbz2p7b;
 Tue, 19 Oct 2021 12:47:39 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix;
 t=1634662059; bh=E3i2u/XAT4O5JiiKABwE8UV3QYQRl5SylNeWE0B24Io=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=onpTv6/DF2usuSzrOFhyDPx86H+xdSehGfXGHhco1mkmt1cAnZRiqgKZ60njUk1WY
 y2jbduIR86fLVxkt9cGJrdPAnhDiVrdREJJaMMMkhrjLPbIvIYha4YzqO4XXqfXgdR
 9iUq/+ozGPOjRs7bvQGA901ye+nOmMIoxjoiCbBo=
Received: by panix2.panix.com (Postfix, from userid 834)
 id 4HYfmr01yVz1ZVd; Tue, 19 Oct 2021 12:47:39 -0400 (EDT)
Date: Tue, 19 Oct 2021 12:47:39 -0400
From: Jesse Sheidlower <jester@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
Message-ID: <YW72q2T3r7UoLYoW@HIDDEN>
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
 <YW7DRKnyxUA28Txb@HIDDEN> <837de9c8hf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <837de9c8hf.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Tue, Oct 19, 2021 at 06:58:04PM +0300, Eli Zaretskii wrote:
> 
> > Given that the recipe "emacs -Q -fn 'Operator Mono SSm'" followed by
> > "M-: (set-face-attribute 'default nil :weight 'book) RET" does produce
> > the desired result, does that tell us anything useful about what's going
> > on, to either fix Emacs or to communicate something with Hoefler about
> > fixing their font?
> 
> It puzzles me, I expected that set-face-attribute won't work as well.
> Now I don't know what to think.  Hmm... maybe the font processing log
> will give a clue?  In "emacs -Q", do
> 
>   M-: (setq font-log nil) RET
> 
> then repeat the recipe with selecting that problematic font, and after
> that go to *scratch* and type
> 
>   (pp font-log) C-j
> 
> where C-j should be typed with cursor after the closing paren of
> "(pp font-log)".  Then post the result here.

OK, just to clarify, I ran this command immediately after selecting the "Book" font from menu-set-font, and incorrectly getting the bold font. I did not then run the set-face-attribute command discussed above. The result was:


(pp font-log) 
((sort-by "-*-bold-normal-normal-*-22-*" "ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1")
 (list "-H&Co-Operator Mono SSm-*-iso8859-1"
       ["-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"])
 (xfont-list "-H&Co-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1" nil)
 (open "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-22-*-m-0-iso10646-1")
 (sort-by "-*-bold-normal-normal-*-22-*" "ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1")
 (list "-H&Co-Operator Mono SSm-*-iso8859-1"
       ["-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"])
 (sort-by "-*-normal-normal-normal-*-20-*" "ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1")
 (list "-*-Sans Serif-*-iso8859-1"
       ["-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1"])
 (list "-H&Co-Sans Serif-*-ascii-0" nil)
 (list "-H&Co-Sans Serif-*-iso8859-1" nil)
 (sort-by "-*-normal-normal-normal-*-22-*" "ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1")
 (list "-*-Sans Serif-*-iso8859-1"
       ["-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1"])
 (list "-H&Co-Sans Serif-*-ascii-0" nil)
 (list "-H&Co-Sans Serif-*-iso8859-1" nil)
 (sort-by "-*-light-normal-normal-*-22-*" "ftcrhb:-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1")
 (list "-H&Co-Operator Mono SSm-*-iso8859-1"
       ["-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"])
 (open "-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1" "ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-20-*-0-iso10646-1")
 (sort-by "-*-normal-normal-normal-*-20-*" "ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1")
 (list "-*-Sans Serif-*-iso8859-1"
       ["-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1"])
 (list "-H&Co-Sans Serif-*-ascii-0" nil)
 (list "-H&Co-Sans Serif-*-iso8859-1" nil)
 (open "-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1" "ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-22-*-0-iso10646-1")
 (sort-by "-*-normal-normal-normal-*-22-*" "ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1")
 (list "-*-Sans Serif-*-iso8859-1"
       ["-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1"])
 (xfont-list "-*-Sans Serif-*-*-*-*-*-*-*-*-*-*-iso8859-1" nil)
 (ftfont-list "-*-Sans Serif-*-iso8859-1"
	      ("-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1" "-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1"))
 (list "-H&Co-Sans Serif-*-ascii-0" nil)
 (xfont-list "-H&Co-Sans Serif-*-*-*-*-*-*-*-*-*-*-ascii-0" nil)
 (ftfont-list "-H&Co-Sans Serif-*-ascii-0" nil)
 (list "-H&Co-Sans Serif-*-iso8859-1" nil)
 (xfont-list "-H&Co-Sans Serif-*-*-*-*-*-*-*-*-*-*-iso8859-1" nil)
 (ftfont-list "-H&Co-Sans Serif-*-iso8859-1" nil)
 (open "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "ftcrhb:-H&Co-Operator Mono SSm-light-normal-normal-*-22-*-m-0-iso10646-1")
 (sort-by "-*-light-normal-normal-*-22-*" "ftcrhb:-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1")
 (list "-H&Co-Operator Mono SSm-*-iso8859-1"
       ["-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"])
 (xfont-list "-H&Co-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1" nil)
 (ftfont-list "-H&Co-Operator Mono SSm-*-iso8859-1"
	      ("-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"))
 (open "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-22-*-m-0-iso10646-1")
 (list "-*-Operator Mono SSm-normal-normal-*-iso8859-1"
       ["-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1"])
 (xfont-list "-*-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1" nil)
 (ftfont-list "-*-Operator Mono SSm-*-iso8859-1"
	      ("-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1" "-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1"))
 (list "-Bits-Operator Mono SSm-normal-normal-*-ascii-0" nil)
 (xfont-list "-Bits-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-ascii-0" nil)
 (ftfont-list "-Bits-Operator Mono SSm-*-ascii-0" nil)
 (list "-Bits-Operator Mono SSm-normal-normal-*-iso8859-1" nil)
 (xfont-list "-Bits-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1" nil)
 (ftfont-list "-Bits-Operator Mono SSm-*-iso8859-1" nil))
"((sort-by \"-*-bold-normal-normal-*-22-*\" \"ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\")
 (list \"-H&Co-Operator Mono SSm-*-iso8859-1\"
       [\"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1\"])
 (xfont-list \"-H&Co-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1\" nil)
 (open \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-22-*-m-0-iso10646-1\")
 (sort-by \"-*-bold-normal-normal-*-22-*\" \"ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\")
 (list \"-H&Co-Operator Mono SSm-*-iso8859-1\"
       [\"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1\"])
 (sort-by \"-*-normal-normal-normal-*-20-*\" \"ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\")
 (list \"-*-Sans Serif-*-iso8859-1\"
       [\"-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1\"])
 (list \"-H&Co-Sans Serif-*-ascii-0\" nil)
 (list \"-H&Co-Sans Serif-*-iso8859-1\" nil)
 (sort-by \"-*-normal-normal-normal-*-22-*\" \"ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\")
 (list \"-*-Sans Serif-*-iso8859-1\"
       [\"-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1\"])
 (list \"-H&Co-Sans Serif-*-ascii-0\" nil)
 (list \"-H&Co-Sans Serif-*-iso8859-1\" nil)
 (sort-by \"-*-light-normal-normal-*-22-*\" \"ftcrhb:-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\")
 (list \"-H&Co-Operator Mono SSm-*-iso8859-1\"
       [\"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1\"])
 (open \"-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\" \"ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-20-*-0-iso10646-1\")
 (sort-by \"-*-normal-normal-normal-*-20-*\" \"ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\")
 (list \"-*-Sans Serif-*-iso8859-1\"
       [\"-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1\"])
 (list \"-H&Co-Sans Serif-*-ascii-0\" nil)
 (list \"-H&Co-Sans Serif-*-iso8859-1\" nil)
 (open \"-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\" \"ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-22-*-0-iso10646-1\")
 (sort-by \"-*-normal-normal-normal-*-22-*\" \"ftcrhb:-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\")
 (list \"-*-Sans Serif-*-iso8859-1\"
       [\"-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1\"])
 (xfont-list \"-*-Sans Serif-*-*-*-*-*-*-*-*-*-*-iso8859-1\" nil)
 (ftfont-list \"-*-Sans Serif-*-iso8859-1\"
	      (\"-Bits-Bitstream Vera Sans-normal-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-normal-oblique-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-normal-normal-*-0-iso10646-1\" \"-Bits-Bitstream Vera Sans-bold-oblique-normal-*-0-iso10646-1\"))
 (list \"-H&Co-Sans Serif-*-ascii-0\" nil)
 (xfont-list \"-H&Co-Sans Serif-*-*-*-*-*-*-*-*-*-*-ascii-0\" nil)
 (ftfont-list \"-H&Co-Sans Serif-*-ascii-0\" nil)
 (list \"-H&Co-Sans Serif-*-iso8859-1\" nil)
 (xfont-list \"-H&Co-Sans Serif-*-*-*-*-*-*-*-*-*-*-iso8859-1\" nil)
 (ftfont-list \"-H&Co-Sans Serif-*-iso8859-1\" nil)
 (open \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"ftcrhb:-H&Co-Operator Mono SSm-light-normal-normal-*-22-*-m-0-iso10646-1\")
 (sort-by \"-*-light-normal-normal-*-22-*\" \"ftcrhb:-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\")
 (list \"-H&Co-Operator Mono SSm-*-iso8859-1\"
       [\"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1\"])
 (xfont-list \"-H&Co-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1\" nil)
 (ftfont-list \"-H&Co-Operator Mono SSm-*-iso8859-1\"
	      (\"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1\"))
 (open \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"ftcrhb:-H&Co-Operator Mono SSm-normal-normal-normal-*-22-*-m-0-iso10646-1\")
 (list \"-*-Operator Mono SSm-normal-normal-*-iso8859-1\"
       [\"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\"])
 (xfont-list \"-*-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1\" nil)
 (ftfont-list \"-*-Operator Mono SSm-*-iso8859-1\"
	      (\"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-italic-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-light-normal-normal-*-m-0-iso10646-1\" \"-H&Co-Operator Mono SSm-normal-italic-normal-*-m-0-iso10646-1\"))
 (list \"-Bits-Operator Mono SSm-normal-normal-*-ascii-0\" nil)
 (xfont-list \"-Bits-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-ascii-0\" nil)
 (ftfont-list \"-Bits-Operator Mono SSm-*-ascii-0\" nil)
 (list \"-Bits-Operator Mono SSm-normal-normal-*-iso8859-1\" nil)
 (xfont-list \"-Bits-Operator Mono SSm-*-*-*-*-*-*-*-*-*-*-iso8859-1\" nil)
 (ftfont-list \"-Bits-Operator Mono SSm-*-iso8859-1\" nil))
"




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 15:58:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 11:58:03 2021
Received: from localhost ([127.0.0.1]:51708 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mcrV4-0004pY-QJ
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 11:58:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59632)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mcrV3-0004oy-Jr
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 11:58:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57432)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mcrUy-0004zF-84; Tue, 19 Oct 2021 11:57:56 -0400
Received: from [87.69.77.57] (port=2449 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mcrUw-0006bw-BY; Tue, 19 Oct 2021 11:57:56 -0400
Date: Tue, 19 Oct 2021 18:58:04 +0300
Message-Id: <837de9c8hf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jesse Sheidlower <jester@HIDDEN>
In-Reply-To: <YW7DRKnyxUA28Txb@HIDDEN> (message from Jesse Sheidlower on
 Tue, 19 Oct 2021 09:08:20 -0400)
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN>
 <83a6j5chh9.fsf@HIDDEN> <YW7DRKnyxUA28Txb@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 19 Oct 2021 09:08:20 -0400
> From: Jesse Sheidlower <jester@HIDDEN>
> Cc: 51277 <at> debbugs.gnu.org
> 
> > Sorry, I meant to say "M-:" instead of "M-x".  It was a typo.
> 
> OK, in this case, yes, it produces the, um, desired effect: Emacs
> displays with the "Book", rather than the "Bold", version of that font.

OK, so at least you have a workaround for this strange problem.

> Yes, it works correctly with certain other fonts. For example, DejaVu
> Sans Mono Book is correctly displayed by menu-set-font and correctly
> loaded by Emacs.
> 
> I do note that the filename of the "Book" variant of DejaVu Sans Mono
> does not contain the word "Book"; the filename is simply DejaVuSans.ttf.
> I don't know if that's relevant.

I don't think it is, no.

> Given that the recipe "emacs -Q -fn 'Operator Mono SSm'" followed by
> "M-: (set-face-attribute 'default nil :weight 'book) RET" does produce
> the desired result, does that tell us anything useful about what's going
> on, to either fix Emacs or to communicate something with Hoefler about
> fixing their font?

It puzzles me, I expected that set-face-attribute won't work as well.
Now I don't know what to think.  Hmm... maybe the font processing log
will give a clue?  In "emacs -Q", do

  M-: (setq font-log nil) RET

then repeat the recipe with selecting that problematic font, and after
that go to *scratch* and type

  (pp font-log) C-j

where C-j should be typed with cursor after the closing paren of
"(pp font-log)".  Then post the result here.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 13:08:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 09:08:23 2021
Received: from localhost ([127.0.0.1]:49848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mcoqs-0006ZS-Rp
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 09:08:23 -0400
Received: from mailbackend.panix.com ([166.84.1.89]:58083)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jester@HIDDEN>) id 1mcoqq-0006ZK-R8
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 09:08:21 -0400
Received: from panix2.panix.com (panix2.panix.com [166.84.1.2])
 by mailbackend.panix.com (Postfix) with ESMTP id 4HYYvm4Btqz4PJB;
 Tue, 19 Oct 2021 09:08:20 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix;
 t=1634648900; bh=9hrDZLB4CZkxMQqg5BQvKjktcIGJEIzXw888iOXB2kg=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=c40+D6heoLDzAhD9nUAxU+ksLw/CS2Ykm3EsEqBDig/RrBKgkIU7F5udag0H+w8/A
 BiwC0HXkYf7jFnO6SF+QQxHIqkmU036SGQTtZE/N06aNU57oa8UZw6Lbzp3HY2Bgl6
 ds9ocIm7EWBu5szM5BWAkFIrTayeF0s6UUE6hnc0=
Received: by panix2.panix.com (Postfix, from userid 834)
 id 4HYYvm54rLz1ZVd; Tue, 19 Oct 2021 09:08:20 -0400 (EDT)
Date: Tue, 19 Oct 2021 09:08:20 -0400
From: Jesse Sheidlower <jester@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
Message-ID: <YW7DRKnyxUA28Txb@HIDDEN>
References: <YW3wcKF/14tZ17sY@HIDDEN> <83v91tclv8.fsf@HIDDEN>
 <YW64Fi5/BIFRQ0R5@HIDDEN> <83a6j5chh9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <83a6j5chh9.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Tue, Oct 19, 2021 at 03:43:46PM +0300, Eli Zaretskii wrote:
> [Please use Reply All to reply, so that the discussion gets recorded
> on the bug tracker.]

Sorry about that.

> > Date: Tue, 19 Oct 2021 08:20:38 -0400
> > From: Jesse Sheidlower <jester@HIDDEN>
> > 
> > > 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?
> > 
> > Depends on what I should expect!
> 
> You should expect to see the "book" variant of the font.  Isn't that
> what you wanted?

Yes, and forgive me for a poor attempt at humor--I was joking about
whether I should expect it to be broken in the same way the original
was.

> > At the first command, Emacs starts with the bold variant; running the second command returns '[No match]', and we stay in the bold variant.
> 
> Sorry, I meant to say "M-:" instead of "M-x".  It was a typo.

OK, in this case, yes, it produces the, um, desired effect: Emacs
displays with the "Book", rather than the "Bold", version of that font.

> > > Sounds like some problem with that font.  Does this work correctly
> > > with other fonts that have the "book" variant?
> > 
> > No, it doesn't, but the only other font I have with a "book" variant happens to be from the same foundry. Hoefler Decimal Book in fact opens the file for Decimal-XBlack, even though there is a file for Decimal-Book.
> > 
> > I did ask someone at Hoefler Type Foundry about this, and they said they weren't aware of anything that could be causing it.
> 
> Then I suggest to try with some other fonts.

Yes, it works correctly with certain other fonts. For example, DejaVu
Sans Mono Book is correctly displayed by menu-set-font and correctly
loaded by Emacs.

I do note that the filename of the "Book" variant of DejaVu Sans Mono
does not contain the word "Book"; the filename is simply DejaVuSans.ttf.
I don't know if that's relevant.

> > I don't know how Emacs does this under the hood
> 
> No one does, unfortunately.
> 
> > but the fact that menu-set-font does correctly display all the variants with their correct names, but then loads something different, suggested that there might be a problem with Emacs (which is why I filed a bug report, instead of just assuming that I'm the one fucking something up).
> 
> No, that doesn't necessarily mean anything.  the font selection dialog
> is something implemented in GTK, I believe, and it just shows the
> fonts that GTK knows about.  When Emacs tries to use that font, it
> could find some problems with it, and that could lead to what you see.

Huh, OK.

Given that the recipe "emacs -Q -fn 'Operator Mono SSm'" followed by
"M-: (set-face-attribute 'default nil :weight 'book) RET" does produce
the desired result, does that tell us anything useful about what's going
on, to either fix Emacs or to communicate something with Hoefler about
fixing their font?

Thank you.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 12:43:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 08:43:46 2021
Received: from localhost ([127.0.0.1]:49806 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mcoT4-0005vG-BY
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 08:43:46 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mcoT2-0005v1-2A
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 08:43:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52402)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mcoSw-00028q-Cv; Tue, 19 Oct 2021 08:43:38 -0400
Received: from [87.69.77.57] (port=2317 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mcoSv-0002uz-RE; Tue, 19 Oct 2021 08:43:38 -0400
Date: Tue, 19 Oct 2021 15:43:46 +0300
Message-Id: <83a6j5chh9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jesse Sheidlower <jester@HIDDEN>
In-Reply-To: <YW64Fi5/BIFRQ0R5@HIDDEN> (message from Jesse Sheidlower on
 Tue, 19 Oct 2021 08:20:38 -0400)
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW3wcKF/14tZ17sY@HIDDEN>
 <83v91tclv8.fsf@HIDDEN> <YW64Fi5/BIFRQ0R5@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

[Please use Reply All to reply, so that the discussion gets recorded
on the bug tracker.]

> Date: Tue, 19 Oct 2021 08:20:38 -0400
> From: Jesse Sheidlower <jester@HIDDEN>
> 
> > 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?
> 
> Depends on what I should expect!

You should expect to see the "book" variant of the font.  Isn't that
what you wanted?

> At the first command, Emacs starts with the bold variant; running the second command returns '[No match]', and we stay in the bold variant.

Sorry, I meant to say "M-:" instead of "M-x".  It was a typo.

> > Sounds like some problem with that font.  Does this work correctly
> > with other fonts that have the "book" variant?
> 
> No, it doesn't, but the only other font I have with a "book" variant happens to be from the same foundry. Hoefler Decimal Book in fact opens the file for Decimal-XBlack, even though there is a file for Decimal-Book.
> 
> I did ask someone at Hoefler Type Foundry about this, and they said they weren't aware of anything that could be causing it.

Then I suggest to try with some other fonts.

> I don't know how Emacs does this under the hood

No one does, unfortunately.

> but the fact that menu-set-font does correctly display all the variants with their correct names, but then loads something different, suggested that there might be a problem with Emacs (which is why I filed a bug report, instead of just assuming that I'm the one fucking something up).

No, that doesn't necessarily mean anything.  the font selection dialog
is something implemented in GTK, I believe, and it just shows the
fonts that GTK knows about.  When Emacs tries to use that font, it
could find some problems with it, and that could lead to what you see.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at 51277 <at> debbugs.gnu.org:


Received: (at 51277) by debbugs.gnu.org; 19 Oct 2021 11:08:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 07:08:59 2021
Received: from localhost ([127.0.0.1]:49621 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mcmzL-0001PR-0Z
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 07:08:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46010)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mcmzI-0001PB-LN
 for 51277 <at> debbugs.gnu.org; Tue, 19 Oct 2021 07:08:57 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49262)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mcmzD-00041u-CJ; Tue, 19 Oct 2021 07:08:51 -0400
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 <eliz@HIDDEN>)
 id 1mcmzC-00025X-V9; Tue, 19 Oct 2021 07:08:51 -0400
Date: Tue, 19 Oct 2021 14:08:59 +0300
Message-Id: <83v91tclv8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jesse Sheidlower <jester@HIDDEN>
In-Reply-To: <YW3wcKF/14tZ17sY@HIDDEN> (message from Jesse Sheidlower on
 Mon, 18 Oct 2021 18:08:48 -0400)
Subject: Re: bug#51277: 27.1; menu-set-font not loading correct font
References: <YW3wcKF/14tZ17sY@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51277
Cc: 51277 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 18 Oct 2021 18:08:48 -0400
> From: Jesse Sheidlower <jester@HIDDEN>
> 
> 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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Oct 2021 22:08:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 18 18:08:59 2021
Received: from localhost ([127.0.0.1]:48788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mcaoU-0003iA-Fz
	for submit <at> debbugs.gnu.org; Mon, 18 Oct 2021 18:08:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:59300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jester@HIDDEN>) id 1mcaoN-0003hx-To
 for submit <at> debbugs.gnu.org; Mon, 18 Oct 2021 18:08:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55344)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jester@HIDDEN>) id 1mcaoN-0000lj-KO
 for bug-gnu-emacs@HIDDEN; Mon, 18 Oct 2021 18:08:51 -0400
Received: from mailbackend.panix.com ([166.84.1.89]:44788)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jester@HIDDEN>) id 1mcaoL-000242-G3
 for bug-gnu-emacs@HIDDEN; Mon, 18 Oct 2021 18:08:51 -0400
Received: from panix2.panix.com (panix2.panix.com [166.84.1.2])
 by mailbackend.panix.com (Postfix) with ESMTP id 4HY9xr24cyz3rJ0
 for <bug-gnu-emacs@HIDDEN>; Mon, 18 Oct 2021 18:08:48 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix;
 t=1634594928; bh=2zcAGtenPlgnVaUfExqMou23ysk96oMtdEtQl7HewU4=;
 h=Date:From:To:Subject;
 b=qKvUPn0MIb8Y9J4UKaeK8LRL8WboyvkDwuNXuMQYvuV37hbkaPrBIyFMUtfBkcu8h
 wYZI3z3mmor3fthIcpfskKxwFXT79bYlSe2TFAQSO3bk1GEXESOc+8GrCkqls+ctux
 DQSoCc9NWH9AlwBFrYKOLOJfaZqMu1x6tq4mjbfc=
Received: by panix2.panix.com (Postfix, from userid 834)
 id 4HY9xr2w6rz1ZTX; Mon, 18 Oct 2021 18:08:48 -0400 (EDT)
Date: Mon, 18 Oct 2021 18:08:48 -0400
From: Jesse Sheidlower <jester@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.1; menu-set-font not loading correct font
Message-ID: <YW3wcKF/14tZ17sY@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Received-SPF: pass client-ip=166.84.1.89; envelope-from=jester@HIDDEN;
 helo=mailbackend.panix.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

--text follows this line--

menu-set-font is not loading the correct file that corresponds to the
font I choose.

recipe:

---
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.]
---

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.

In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-03-27, modified by Debian built on x86-conova-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --enable-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --build
 x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
 --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --with-cairo
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2
 -ffile-prefix-map=/build/emacs-LlFm6W/emacs-27.1+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD
JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 45158 9171)
 (symbols 48 6002 1)
 (strings 32 15472 2198)
 (string-bytes 1 503918)
 (vectors 16 10083)
 (vector-slots 8 129779 11566)
 (floats 8 20 45)
 (intervals 56 255 0)
 (buffers 1000 12))




Acknowledgement sent to Jesse Sheidlower <jester@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#51277; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 20 Oct 2021 15:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.