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#51704: 29.0.50; set-fontset-font do not work well with :weight 'normal of font-spec Date: Tue, 09 Nov 2021 14:57:55 +0200 Message-ID: <83ilx15vvw.fsf@gnu.org> References: <54b63b0b.37ad.17d03710b0b.Coremail.tumashu@163.com> <87a6idq00p.fsf@gnus.org> <1374ad7e.4032.17d0399bbc1.Coremail.tumashu@163.com> <87tuglokb3.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11125"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tumashu@163.com, 51704@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 09 13:59:22 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkQie-0002gu-DZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 13:59:20 +0100 Original-Received: from localhost ([::1]:37480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkQid-0004it-6C for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 07:59:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkQiM-0004iH-G7 for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 07:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkQiM-00015e-7L for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 07:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkQiM-0007I0-6w for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 07:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Nov 2021 12:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51704 X-GNU-PR-Package: emacs Original-Received: via spool by 51704-submit@debbugs.gnu.org id=B51704.163646269127928 (code B ref 51704); Tue, 09 Nov 2021 12:59:02 +0000 Original-Received: (at 51704) by debbugs.gnu.org; 9 Nov 2021 12:58:11 +0000 Original-Received: from localhost ([127.0.0.1]:32900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkQhW-0007GO-Td for submit@debbugs.gnu.org; Tue, 09 Nov 2021 07:58:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkQhU-0007G5-FB for 51704@debbugs.gnu.org; Tue, 09 Nov 2021 07:58:09 -0500 Original-Received: from [2001:470:142:3::e] (port=37002 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 1mkQhP-0000wN-2r; Tue, 09 Nov 2021 07:58:03 -0500 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=mzCl+F5GjDv2otN+qMy1w/z+uYspCa8a6VlTRyxTew8=; b=KZZNcW44yKGB 1oGhFcpzs0f+wxT+qmBmKS6QOykMdYsj6TcFOGcIRf6W9ms62prp+0bmkZpQPSJUeU26mSL5d7WRH 2dhxgfEJkyFGDAMzPnL8VXKfdXCZQjybYRVJO1wj5w3g+jC+u5AE8pEO6CzauU7r+9NOlY420VU5A kb50pRP6nmOmC5FV25nsMAjiKPYZpZ0ISPaTyIn0lDARwwYCpIcAhjkct/5RHHmRlZthhCsMeEb5S lfMCJAeoo7kRhzPPB6eWvHWxOnC6KZlkkUpTPBvj/J6gzo3aLps6FESkio/aGnm60DuTApqFnj1bt mmUr4LyrulBTgGiVtOQUYw==; Original-Received: from [87.69.77.57] (port=3921 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 1mkQhO-0004dc-Gn; Tue, 09 Nov 2021 07:58:02 -0500 In-Reply-To: <87tuglokb3.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 09 Nov 2021 08:33:04 +0100) 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:219443 Archived-At: > From: Lars Ingebrigtsen > Date: Tue, 09 Nov 2021 08:33:04 +0100 > Cc: 51704@debbugs.gnu.org > > tumashu writes: > > > medium work. > > > > Does old emacs support 'medium? > > Yes, in older Emacsen, `medium' is an alias for `normal'. This was > split up since the font spec allows two different font weights here (and > `medium' is heavier than `normal'), and Emacs didn't have a way to > choose the actual `normal' font. > > The problem is that if you have a font that doesn't have the now-lighter > `normal' font, Emacs won't find the right spec. I'm not sure whether > there's any way to make a fallback of some kind here work... I'm > amending the text in etc/NEWS and moving it to the "incompatible" > section, though. Can we rethink this incompatible change? Isn't there a way of achieving the same goal without breaking people's font customizations? Why was there a need to make 'normal' and 'medium' be different?