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: Fri, 15 Apr 2022 15:39:37 +0300 Message-ID: <831qxy34hi.fsf@gnu.org> References: <8335iu4uad.fsf@gnu.org> <83fsmufbui.fsf@gnu.org> <83a6d2f8o8.fsf@gnu.org> <838rsmf7nc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="668"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54685@debbugs.gnu.org To: corwin@bru.st Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 15 14:40:12 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 1nfLFD-000AZv-BS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Apr 2022 14:40:11 +0200 Original-Received: from localhost ([::1]:49166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfLFC-0004Fd-7G for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Apr 2022 08:40:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfLF4-0004FQ-3q for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2022 08:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfLF3-00018V-RU for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2022 08:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfLF3-0004Wy-PE for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2022 08:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Apr 2022 12:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54685-submit@debbugs.gnu.org id=B54685.165002639517399 (code B ref 54685); Fri, 15 Apr 2022 12:40:01 +0000 Original-Received: (at 54685) by debbugs.gnu.org; 15 Apr 2022 12:39:55 +0000 Original-Received: from localhost ([127.0.0.1]:58306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfLEw-0004WZ-QP for submit@debbugs.gnu.org; Fri, 15 Apr 2022 08:39:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfLEv-0004WL-0p for 54685@debbugs.gnu.org; Fri, 15 Apr 2022 08:39:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfLEi-00015U-Ml; Fri, 15 Apr 2022 08:39:42 -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=POSNgD816Xfa7rWF+AUMA0OYVq85TPOipxa2D1CHeCI=; b=aI54b0z5y/c3 R4KqXdOypPTpK7JutVWFqalk0pakcGPMSOa1+lSwv6AHZcHETFFwQtg3U0RWwxDIXlmdTkEEKLibR PUAVdr3TDZuCSUCg50YCfJCuxXaVv0ccnY8WIP8wcftJyvy0Htzz4ihbZVDIwOMxhGRQ1pNXhaXSm awOBHX77loWDSENSAYkobj/isprJJom119uGRPGyhNS6CexeSWvMyVtnm/t2ugh1TVSicnjmtPOIL 0pqUrINL/q8IWOHXcCkwmCSz15YKJCFva47Lg1qKFcZ5m2NrDoaRJ+rxy2K1axQLBpr6DhDnEkPa3 Hqj9JZBJZrNPZSjExIMFEw==; Original-Received: from [87.69.77.57] (port=3659 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 1nfLET-0006Ho-BL; Fri, 15 Apr 2022 08:39:35 -0400 In-Reply-To: <838rsmf7nc.fsf@gnu.org> (message from Eli Zaretskii on Sun, 03 Apr 2022 19:34:15 +0300) 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:229933 Archived-At: > Date: Sun, 03 Apr 2022 19:34:15 +0300 > From: Eli Zaretskii > Cc: 54685-done@debbugs.gnu.org > > > 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. Now done.