From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54685: 28.0.92; incorrect font on new frame after menu-set-font (Win32) Date: Sun, 03 Apr 2022 19:34:15 +0300 Message-ID: <838rsmf7nc.fsf@gnu.org> References: <8335iu4uad.fsf@gnu.org> <83fsmufbui.fsf@gnu.org> <83a6d2f8o8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1972"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54685-done@debbugs.gnu.org To: Corwin Brust Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 03 18:35:48 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nb3Cb-0000EY-MX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Apr 2022 18:35:45 +0200 Original-Received: from localhost ([::1]:46850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nb3Ca-0005gG-9l for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Apr 2022 12:35:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nb3Bw-0005f7-A2 for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2022 12:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nb3Bu-0006fe-Ng for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2022 12:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nb3Bu-0005Q7-Ip for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2022 12:35:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Apr 2022 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 54685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 54685@debbugs.gnu.org, eliz@gnu.org, corwin@bru.st Original-Received: via spool by 54685-done@debbugs.gnu.org id=D54685.164900366320778 (code D ref 54685); Sun, 03 Apr 2022 16:35:02 +0000 Original-Received: (at 54685-done) by debbugs.gnu.org; 3 Apr 2022 16:34:23 +0000 Original-Received: from localhost ([127.0.0.1]:49343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nb3BH-0005P4-2L for submit@debbugs.gnu.org; Sun, 03 Apr 2022 12:34:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nb3BF-0005Oq-2Y for 54685-done@debbugs.gnu.org; Sun, 03 Apr 2022 12:34:21 -0400 Original-Received: from [2001:470:142:3::e] (port=38920 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nb3B9-0006Yv-OG; Sun, 03 Apr 2022 12:34:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=++pj/RDUwdVGidiTajVtpkRZfiUs/a4RmMd7dLC6whM=; b=ctIQIUX/jqZ0 Yv3PjuoQYkdaot7/Rl9F2n2QHv6eadpxA6yTAn6Q2fiTA8oEgZgEXpU44RaTNw9tdaus/TZumv6bG jr0MgcSLFkry9qmoo5wNIWaANQswZez7SU6KanFUpVXzuZwHsPG3LCFOED/LFJmJJLttiIQjqAlI2 z0LQy0Ip/vul2aBJ7V/FoPWZUlHRvVhjmNUBDeTfXvQENtMdAS/0bn2ew7ePPgF2Wxona6OjNr+EV OUHVKEeRqnkzocW1KbyOU3OFm31+04Cm2uWuZjG7AnGlim9rGKgymnYdBfXTAUICdhBqScTkXrrhZ NfcPf9a3jiw49zksGPQMKw==; Original-Received: from [87.69.77.57] (port=2297 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nb3B9-0006Po-8V; Sun, 03 Apr 2022 12:34:15 -0400 In-Reply-To: (message from Corwin Brust on Sun, 3 Apr 2022 11:23:25 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229366 Archived-At: > From: Corwin Brust > Date: Sun, 3 Apr 2022 11:23:25 -0500 > Cc: 54685@debbugs.gnu.org > > > If so, then this is expected. The APIs we use on MS-Windows to > > enumerate fonts in a font family consider only 4 font varieties to > > belong to the same family: Regular, Italic, Bold, and Bold-Italic. > > All the other varieties aren't returned by those APIs when we request > > to list all the fonts in a family. (I don't know if this is just the > > deficiency of the APIs we use, or a general issue with how fonts are > > managed on Windows.) So any font variety that is not one of those 4 > > will cause trouble sooner or later. (Medium is special, because we > > have an extra-special kludge to allow Medium when Regular is being > > sought.) > > > > So I think what you see is expected: on Windows one cannot select a > > Light (or Thin, or UltraLight, or SemiBold, or ...) font for the > > default face and hope that it will work as expected. > > In which case I think this bug report can be closed. Thank you. Done. I will at some time add a PROBLEMS entry about this.